1 | <?php |
||
21 | final class EnvironmentReader implements EnvironmentReaderInterface |
||
22 | { |
||
23 | /** |
||
24 | * Path to extension sources. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $path = ''; |
||
29 | /** |
||
30 | * Namespace of the extension. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $namespace = ''; |
||
35 | |||
36 | /** |
||
37 | * EnvironmentReader constructor. |
||
38 | * |
||
39 | * @param string $path |
||
40 | * @param string $namespace |
||
41 | */ |
||
42 | 4 | public function __construct($path, $namespace) |
|
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | 4 | public function supportsEnvironment(Environment $environment) |
|
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | 4 | public function readEnvironmentCallees(Environment $environment) |
|
82 | } |
||
83 |