1 | <?php |
||
19 | class TransformerRegistry implements TransformerRegistryInterface |
||
20 | { |
||
21 | /** |
||
22 | * The generated transformers |
||
23 | * |
||
24 | * @var array |
||
25 | */ |
||
26 | private $transformers = array(); |
||
27 | |||
28 | 9 | private function set($class, $transformer) |
|
32 | |||
33 | 1 | private function get($class) |
|
43 | |||
44 | /** |
||
45 | * {@inheritDoc} |
||
46 | */ |
||
47 | 9 | public function setCloudTransformer(CloudTransformerInterface $transformer) |
|
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | 1 | public function getCloudTransformer() |
|
59 | |||
60 | /** |
||
61 | * {@inheritDoc} |
||
62 | */ |
||
63 | 9 | public function setEncodingTransformer(EncodingTransformerInterface $transformer) |
|
67 | |||
68 | /** |
||
69 | * {@inheritDoc} |
||
70 | */ |
||
71 | 1 | public function getEncodingTransformer() |
|
75 | |||
76 | /** |
||
77 | * {@inheritDoc} |
||
78 | */ |
||
79 | 9 | public function setNotificationsTransformer(NotificationsTransformerInterface $transformer) |
|
83 | |||
84 | /** |
||
85 | * {@inheritDoc} |
||
86 | */ |
||
87 | 1 | public function getNotificationsTransformer() |
|
91 | |||
92 | /** |
||
93 | * {@inheritDoc} |
||
94 | */ |
||
95 | 9 | public function setProfileTransformer(ProfileTransformerInterface $transformer) |
|
99 | |||
100 | /** |
||
101 | * {@inheritDoc} |
||
102 | */ |
||
103 | 1 | public function getProfileTransformer() |
|
107 | |||
108 | /** |
||
109 | * {@inheritDoc} |
||
110 | */ |
||
111 | 9 | public function setVideoTransformer(VideoTransformerInterface $transformer) |
|
115 | |||
116 | /** |
||
117 | * {@inheritDoc} |
||
118 | */ |
||
119 | 1 | public function getVideoTransformer() |
|
123 | } |
||
124 |