ParamConverterManagerInterface
interface ParamConverterManagerInterface (View source)
Provides an interface for a parameter converter manager.
Methods
$this
addConverter(ParamConverterInterface $param_converter, string $id)
Registers a parameter converter with the manager.
getConverter(string $id)
Lazy-loads converter services.
setRouteParameterConverters(RouteCollection $routes)
Saves a list of applicable converters to each route.
array
convert(array $defaults)
Invokes the registered converter for each defined parameter on a route.
Details
$this
addConverter(ParamConverterInterface $param_converter, string $id)
Registers a parameter converter with the manager.
ParamConverterInterface
getConverter(string $id)
Lazy-loads converter services.
setRouteParameterConverters(RouteCollection $routes)
Saves a list of applicable converters to each route.
array
convert(array $defaults)
Invokes the registered converter for each defined parameter on a route.