1 | <?php |
||
14 | class RelativeNamespaceDiscovery extends AbstractClassDiscovery implements ClassLoaderAwareInterface |
||
15 | { |
||
16 | use ClassLoaderAwareTrait; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $relativeNamespace; |
||
22 | |||
23 | /** |
||
24 | * Psr4Discovery constructor. |
||
25 | * |
||
26 | * @param $relativeNamespace |
||
27 | */ |
||
28 | public function __construct($relativeNamespace) |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getRelativeNamespace() |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getRelativeNamespacePath() |
||
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | public function getClasses() |
||
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | public function getFile($class) |
||
83 | |||
84 | /** |
||
85 | * @param $directories |
||
86 | * @param $pattern |
||
87 | * |
||
88 | * @return \Symfony\Component\Finder\Finder |
||
89 | */ |
||
90 | protected function serach($directories, $pattern) |
||
99 | } |
||
100 |