1 | <?php |
||
14 | class Psr4 { |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $namespace; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $path; |
||
25 | |||
26 | /** |
||
27 | * @param string $root_namespace Namespace prefix |
||
28 | * @param string $path Root path |
||
29 | */ |
||
30 | public function __construct( $root_namespace, $path ) { |
||
34 | |||
35 | /** |
||
36 | * @param string $path |
||
37 | * @return string |
||
38 | */ |
||
39 | protected final function trimSlashes( $path ) { |
||
42 | |||
43 | /** |
||
44 | * @param $class |
||
45 | * @return bool|string |
||
46 | */ |
||
47 | public function __invoke( $class ) { |
||
66 | |||
67 | /** |
||
68 | * @param $class_name |
||
69 | * @return bool |
||
70 | */ |
||
71 | protected function isOfNamespace( $class_name ) { |
||
74 | |||
75 | } |