1 | <?php |
||
15 | class RepresentationCollection implements RepresentationCollectionInterface |
||
16 | { |
||
17 | /** |
||
18 | * RepresentationCollection constructor. |
||
19 | */ |
||
20 | public function __construct() |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $representations = []; |
||
29 | |||
30 | /** |
||
31 | * @void |
||
32 | */ |
||
33 | protected function fillRepresentations() |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getAll() |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function getByName($name) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getDefault() |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function exists($name) |
||
89 | } |
||
90 |