php check if implements interface