Свойство | Тип | Описание | |
---|---|---|---|
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$resolveCache | |||
$routeCache | Neos\Cache\Frontend\VariableFrontend | ||
$routingSettings | array | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Метод | Описание | |
---|---|---|
flushCaches ( ) : void | Flushes 'route' and 'resolve' caches. | |
flushCachesByTag ( string $tag ) : void | Flushes 'findMatchResults' and 'resolve' caches for the given $tag | |
flushCachesForUriPath ( string $uriPath ) : void | Flushes 'findMatchResults' caches that are tagged with the given $uriPath | |
getCachedMatchResults ( |
Checks the cache for the route path given in the Request and returns the result | |
getCachedResolvedUriPath ( array $routeValues ) : string | boolean | Checks the cache for the given route values and returns the cached resolvedUriPath if a cache entry is found | |
initializeObject ( ) : void | ||
storeMatchResults ( |
Stores the $matchResults in the cache | |
storeResolvedUriPath ( string $uriPath, array $routeValues ) : void | Stores the $uriPath in the cache together with the $routeValues |
Метод | Описание | |
---|---|---|
buildResolveCacheIdentifier ( array $routeValues ) : string | Generates the Resolve cache identifier for the given Request | |
buildRouteCacheIdentifier ( |
Generates the Matching cache identifier for the given Request | |
containsObject ( mixed $subject ) : boolean | Checks if the given subject contains an object | |
convertObjectsToHashes ( array $routeValues ) : array | Recursively converts objects in an array to their identifiers | |
extractUuids ( array $values ) : array | Helper method to generate tags by taking all UUIDs contained in the given $routeValues or $matchResults | |
generateRouteTags ( string $uriPath, array $routeValues ) : array |
protected buildResolveCacheIdentifier ( array $routeValues ) : string | ||
$routeValues | array | |
Результат | string |
protected buildRouteCacheIdentifier ( |
||
$httpRequest | ||
Результат | string |
protected containsObject ( mixed $subject ) : boolean | ||
$subject | mixed | |
Результат | boolean | TRUE if $subject contains an object, otherwise FALSE |
protected convertObjectsToHashes ( array $routeValues ) : array | ||
$routeValues | array | the array to be processed |
Результат | array | the modified array or NULL if $routeValues contain an object and its identifier could not be determined |
protected extractUuids ( array $values ) : array | ||
$values | array | |
Результат | array |
public flushCaches ( ) : void | ||
Результат | void |
public flushCachesByTag ( string $tag ) : void | ||
$tag | string | |
Результат | void |
public flushCachesForUriPath ( string $uriPath ) : void | ||
$uriPath | string | |
Результат | void |
public getCachedMatchResults ( |
||
$httpRequest | ||
Результат | array | boolean | the cached route values or FALSE if no cache entry was found |
public storeMatchResults ( |
||
$httpRequest | ||
$matchResults | array | |
Результат | void |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Результат | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
protected StringFrontend,Neos\Cache\Frontend $resolveCache | ||
Результат |
protected VariableFrontend,Neos\Cache\Frontend $routeCache | ||
Результат | Neos\Cache\Frontend\VariableFrontend |