public function matchesMethod($className, $methodName): bool
    {
        $this->initialize();

        $methodIdentifier = strtolower($className . '->' . $methodName);
        if (isset(static::$methodPermissions[$methodIdentifier][$this->getCacheEntryIdentifier()])) {
            return true;
        }

        return false;
    }
public function matchesMethod($className, $methodName): bool
    {
        $this->initialize();

        $methodIdentifier = strtolower($className . '->' . $methodName);
        if (isset(static::$methodPermissions[$methodIdentifier][$this->getCacheEntryIdentifier()])) {
            return true;
        }

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

@param string $className
@param string $methodName
@return boolean
@throws \Neos\Cache\Exception\NoSuchCacheException
Returns true if this privilege covers the given method