public int canAccess(Environment env) {
        return canAccess(env, null);
    }
Use  isImplementableSignatureFor() method.
@param method
@param strong
@return
jphp-runtime/src/php/runtime/reflection/MethodEntity.java