protected static function canProxyMethod(\ReflectionMethod $method)
    {
        if ($method->isConstructor() || $method->isFinal() || $method->isStatic() || isset(self::$blacklistedMethodNames[$method->getName()])
        ) {
            return false;
        } elseif ($method->isProtected()) {
            return true;
        }

        return false;
    }
protected static function canProxyMethod(\ReflectionMethod $method)
    {
        if ($method->isConstructor() || $method->isFinal() || $method->isStatic() || isset(self::$blacklistedMethodNames[$method->getName()])
        ) {
            return false;
        } elseif ($method->isProtected()) {
            return true;
        }

        return false;
    }
protected static function canProxyMethod ( \ ReflectionMethod $ method ) { if ( $ method -> isConstructor ( ) || $ method -> isFinal ( ) || $ method -> isStatic ( ) || isset ( self :: $ blacklistedMethodNames [ $ method -> getName ( ) ] ) ) { return false ; } elseif ( $ method -> isProtected ( ) ) { return true ; } return false ; }
Determine if the given method may be proxied.

Since it is not possible to reflect a
- constructor
- final method
- static method
those will cause this method to return false.
Also methods registered in the blacklist will cause this
method to return false.

@param \ReflectionMethod $method Name of the method to be reflected.

@return boolean True, if the given method may be reflected, else false.
Determine if the given method may be proxied .