AmfphpDiscoveryService::_getMethodRoles PHP Method

_getMethodRoles() public method

get method roles
public _getMethodRoles ( string $methodName ) : array
$methodName string
return array
    public function _getMethodRoles($methodName)
    {
        if (self::$restrictAccess) {
            return array('amfphp_admin');
        }
    }