Interface for parameter converters.
Expanded class hierarchy of ParamConverterInterface
All classes that implement ParamConverterInterface
interface ParamConverterInterface {
/**
* Allows to convert variables to their corresponding objects.
*
* @param array &$variables
* Array of values to convert to their corresponding objects, if applicable.
* @param \Symfony\Component\Routing\Route $route
* The route object.
* @param array &$converted
* Array collecting the names of all variables which have been
* altered by a converter.
*/
public function process(array &$variables, Route $route, array &$converted);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ParamConverterInterface:: |
public | function | Allows to convert variables to their corresponding objects. | 2 |