1 | <?php |
||
4 | class Autoload implements ConfigurationItemInterface |
||
5 | { |
||
6 | const TYPE_PSR0 = 'psr-0'; |
||
7 | const TYPE_PSR4 = 'psr-4'; |
||
8 | |||
9 | /** @var string */ |
||
10 | private $type; |
||
11 | /** @var string */ |
||
12 | private $namespace; |
||
13 | /** @var string */ |
||
14 | private $path; |
||
15 | |||
16 | /** |
||
17 | * @param string $type |
||
18 | * @param string $path |
||
19 | * @param string $namespace |
||
20 | */ |
||
21 | public function __construct($type, $path, $namespace) |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getType() |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getNamespace() |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getPath() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function getItemId() |
||
63 | } |
||
64 |