Neos\Flow\Mvc\Routing\RouterCachingService::generateRouteTags PHP Method

generateRouteTags() protected method

protected generateRouteTags ( string $uriPath, array $routeValues ) : array
$uriPath string
$routeValues array
return array
    protected function generateRouteTags($uriPath, $routeValues)
    {
        $uriPath = trim($uriPath, '/');
        $tags = $this->extractUuids($routeValues);
        $path = '';
        $uriPath = explode('/', $uriPath);
        foreach ($uriPath as $uriPathSegment) {
            $path .= '/' . $uriPathSegment;
            $path = trim($path, '/');
            $tags[] = md5($path);
        }
        return $tags;
    }