private static function isServiceMethod(ReflectionMethod $method)
    {
        return !$method->isPublic() || in_array($method->getShortName(), self::getServiceMethods());
    }
private static function isServiceMethod(ReflectionMethod $method)
    {
        return !$method->isPublic() || in_array($method->getShortName(), self::getServiceMethods());
    }
private static function isServiceMethod ( ReflectionMethod $ method ) { return ! $ method -> isPublic ( ) || in_array ( $ method -> getShortName ( ) , self :: getServiceMethods ( ) ) ; }
Checks that given method is for the internal use.

@param ReflectionMethod $method

@return boolean
Checks that given method is for the internal use .