1 | <?php |
||
7 | class TransformerRegistry implements \ArrayAccess |
||
8 | { |
||
9 | |||
10 | private $transformers = array(); |
||
11 | |||
12 | /** |
||
13 | * @param string $key |
||
14 | * @param TransformerAbstract $transformer |
||
15 | */ |
||
16 | 12 | public function setTransformer($key, TransformerAbstract $transformer) |
|
20 | |||
21 | 20 | public function offsetExists($offset) |
|
25 | |||
26 | 14 | public function offsetGet($offset) |
|
30 | |||
31 | 6 | public function offsetSet($offset, $value) |
|
39 | |||
40 | 2 | public function offsetUnset($offset) |
|
44 | } |
||
45 |