1 | <?php |
||
18 | class TransformersManager extends AbstractPluginManager |
||
19 | { |
||
20 | /** {@inheritDoc} */ |
||
21 | protected $shareByDefault = false; |
||
22 | |||
23 | /** |
||
24 | * Validate the plugin |
||
25 | * |
||
26 | * Checks that the transformer loaded is instance of TransformerInterface. |
||
27 | * |
||
28 | * @param TransformerInterface $transformer |
||
29 | * |
||
30 | * @return void |
||
31 | * @throws Exception\RuntimeException if invalid |
||
32 | */ |
||
33 | public function validatePlugin($transformer) |
||
45 | } |
||
46 |