src/PermissionMatcher.php
protected function pathsAreEqual($permissionAuthzGroup, $authzGroup)
    {
        $permissionAuthzGroupPath = rtrim(strtok($permissionAuthzGroup, '?'), '/');
        $authzGroupPath = rtrim(strtok($authzGroup, '?'), '/');

        return $this->matchAuthzGroupPaths($permissionAuthzGroupPath, $authzGroupPath) ||
            $this->matchAuthzGroupPaths($authzGroupPath, $permissionAuthzGroupPath);
    }
protected function pathsAreEqual($permissionAuthzGroup, $authzGroup)
    {
        $permissionAuthzGroupPath = rtrim(strtok($permissionAuthzGroup, '?'), '/');
        $authzGroupPath = rtrim(strtok($authzGroup, '?'), '/');

        return $this->matchAuthzGroupPaths($permissionAuthzGroupPath, $authzGroupPath) ||
            $this->matchAuthzGroupPaths($authzGroupPath, $permissionAuthzGroupPath);
    }
protected function pathsAreEqual ( $ permissionAuthzGroup , $ authzGroup ) { $ permissionAuthzGroupPath = rtrim ( strtok ( $ permissionAuthzGroup , '?' ) , '/' ) ; $ authzGroupPath = rtrim ( strtok ( $ authzGroup , '?' ) , '/' ) ; return $ this -> matchAuthzGroupPaths ( $ permissionAuthzGroupPath , $ authzGroupPath ) || $ this -> matchAuthzGroupPaths ( $ authzGroupPath , $ permissionAuthzGroupPath ) ; }
Compare the paths of two authz groups

@param string $permissionAuthzGroup
@param string $authzGroup
@return boolean
Compare the paths of two authz groups