src/Controller.php
protected function isExecutable(\ReflectionMethod $method)
    {
        if ($method->isStatic() || $method->getDeclaringClass()->getName() == self::class) {
            return false;
        }

        //Place to implement custom logic
        return true;
    }
protected function isExecutable(\ReflectionMethod $method)
    {
        if ($method->isStatic() || $method->getDeclaringClass()->getName() == self::class) {
            return false;
        }

        //Place to implement custom logic
        return true;
    }
protected function isExecutable ( \ ReflectionMethod $ method ) { if ( $ method -> isStatic ( ) || $ method -> getDeclaringClass ( ) -> getName ( ) == self :: class ) { return false ; } //Place to implement custom logic return true ; }
Check if method is callable.

@param \ReflectionMethod $method

@return bool
Check if method is callable .