1 | <?php |
||
13 | final class CollectionParamConverter implements ParamConverterInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var InformationCollection |
||
17 | */ |
||
18 | protected $informationCollection; |
||
19 | |||
20 | public function __construct(InformationCollection $informationCollection) |
||
24 | |||
25 | /** |
||
26 | * Stores the object in the request. |
||
27 | * |
||
28 | * @param ParamConverter $configuration Contains the name, class and options of the object |
||
29 | * |
||
30 | * @return bool True if the object has been successfully set, else false |
||
31 | */ |
||
32 | public function apply(Request $request, ParamConverter $configuration) |
||
49 | |||
50 | /** |
||
51 | * Checks if the object is supported. |
||
52 | * |
||
53 | * @return bool True if the object is supported, else false |
||
54 | */ |
||
55 | public function supports(ParamConverter $configuration) |
||
59 | } |
||
60 |