1 | <?php namespace BuildR\ClassLoader\Modules\PEAR; |
||
19 | class PEARClassLoaderModule extends AbstractClassLoaderModule { |
||
20 | |||
21 | /** |
||
22 | * @type int |
||
23 | */ |
||
24 | protected $priority = 50; |
||
25 | |||
26 | /** |
||
27 | * @type array |
||
28 | */ |
||
29 | private $registeredPrefixes = []; |
||
30 | |||
31 | /** |
||
32 | * @inheritDoc |
||
33 | * @codeCoverageIgnore |
||
34 | */ |
||
35 | public static function getName() { |
||
38 | |||
39 | /** |
||
40 | * @inheritDoc |
||
41 | * @codeCoverageIgnore |
||
42 | */ |
||
43 | public function getPriority() { |
||
46 | |||
47 | /** |
||
48 | * @inheritDoc |
||
49 | * @codeCoverageIgnore |
||
50 | */ |
||
51 | public function onRegistered() {} |
||
52 | |||
53 | /** |
||
54 | * @inheritDoc |
||
55 | */ |
||
56 | 2 | public function load($className) { |
|
81 | |||
82 | 4 | public function registerPrefix($prefix, $basePath) { |
|
92 | |||
93 | /** |
||
94 | * Remove a registered prefix from the module |
||
95 | * |
||
96 | * @param string $prefix The prefix name |
||
97 | */ |
||
98 | 1 | public function unRegisterPrefix($prefix) { |
|
105 | |||
106 | /** |
||
107 | * Determines that the given prefix is registered in this module |
||
108 | * |
||
109 | * @param string $prefix The prefix name |
||
110 | * |
||
111 | * @return bool |
||
112 | */ |
||
113 | 4 | public function prefixIsRegistered($prefix) { |
|
122 | |||
123 | } |
||
124 |