1 | <?php |
||
19 | abstract class BaseSourceTransformer implements SourceTransformer |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Transformer options |
||
24 | * |
||
25 | * @var array |
||
26 | */ |
||
27 | protected $options = []; |
||
28 | |||
29 | /** |
||
30 | * @var AspectKernel|null |
||
31 | */ |
||
32 | protected $kernel = null; |
||
33 | |||
34 | /** |
||
35 | * @var AspectContainer|null |
||
36 | */ |
||
37 | protected $container = null; |
||
38 | |||
39 | /** |
||
40 | * Default constructor for transformer |
||
41 | * |
||
42 | * @param AspectKernel $kernel Instance of aspect kernel |
||
43 | * @param array $options Custom options or kernel options |
||
44 | */ |
||
45 | 14 | public function __construct(AspectKernel $kernel, array $options = []) |
|
51 | } |
||
52 |