Свойство | Тип | Описание | |
---|---|---|---|
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$splitString | string | If it is empty, Route Part will be equal to the remaining request path. |
Метод | Описание | |
---|---|---|
match ( string &$routePath ) : boolean | Checks whether this Dynamic Route Part corresponds to the given $routePath. | |
resolve ( array &$routeValues ) : boolean | Checks whether $routeValues contains elements which correspond to this Dynamic Route Part. | |
setSplitString ( string $splitString ) : void | Sets split string of the Route Part. |
Метод | Описание | |
---|---|---|
findValueToMatch ( string $routePath ) : string | Returns the first part of $routePath. | |
findValueToResolve ( array $routeValues ) : string | array | Returns the route value of the current route part. | |
matchValue ( string $value ) : boolean | Checks, whether given value can be matched. | |
removeMatchingPortionFromRequestPath ( string &$routePath, string $valueToMatch ) : void | Removes matching part from $routePath. | |
resolveValue ( mixed $value ) : boolean | Checks, whether given value can be resolved and if so, sets $this->value to the resolved value. |
protected findValueToMatch ( string $routePath ) : string | ||
$routePath | string | The request path to be matched |
Результат | string | value to match, or an empty string if $routePath is empty or split string was not found |
protected matchValue ( string $value ) : boolean | ||
$value | string | value to match |
Результат | boolean | TRUE if value could be matched successfully, otherwise FALSE. |
protected resolveValue ( mixed $value ) : boolean | ||
$value | mixed | value to resolve |
Результат | boolean | TRUE if value could be resolved successfully, otherwise FALSE. |
public setSplitString ( string $splitString ) : void | ||
$splitString | string | |
Результат | void |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
protected string $splitString | ||
Результат | string |