RouteParameters
final class RouteParameters implements CacheAwareInterface (View source)
This class allows the whole routing behavior to be parametrized.
Route Part implementations can react to given parameters and adjust their matching behavior accordingly if they implement ParameterAwareRoutePartInterface
Routing RouteParameters are usually registered using HTTP components
Methods
Creates an empty instance of this class
Create a new instance adding the given parameter
Checks whether a given parameter exists
Returns the value for a given $parameterName, or NULL if it doesn't exist
No description
Details
static RouteParameters
createEmpty()
Creates an empty instance of this class
RouteParameters
withParameter(string $parameterName, bool|float|int|string|CacheAwareInterface $parameterValue)
Create a new instance adding the given parameter
bool
has(string $parameterName)
Checks whether a given parameter exists
bool|float|int|string|CacheAwareInterface|null
getValue(string $parameterName)
Returns the value for a given $parameterName, or NULL if it doesn't exist
string
getCacheEntryIdentifier()
No description