Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilege::matchesMethod PHP Method

matchesMethod() public method

Returns TRUE, if this privilege covers the given method
public matchesMethod ( string $className, string $methodName ) : boolean
$className string
$methodName string
return boolean
    public function matchesMethod($className, $methodName)
    {
        $this->initialize();
        $methodIdentifier = strtolower($className . '->' . $methodName);
        if (isset(static::$methodPermissions[$methodIdentifier][$this->getCacheEntryIdentifier()])) {
            return true;
        }
        return false;
    }