| 1 | <?php |
||
| 12 | class DataTransformerManager |
||
| 13 | { |
||
| 14 | private $transformers; |
||
| 15 | |||
| 16 | 7 | public function __construct() |
|
| 20 | |||
| 21 | public function addDataTransformers(/*iterable*/ $dataTransformers) |
||
| 28 | |||
| 29 | 7 | public function addDataTransformer(DataTransformer $transformer) |
|
| 36 | |||
| 37 | 7 | public function getTransformer($extension) |
|
| 46 | } |
||
| 47 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.