1 | <?php |
||
8 | class Autoloader |
||
9 | { |
||
10 | /** @var bool Whether the autoloader has been registered. */ |
||
11 | private static $registered = false; |
||
12 | |||
13 | /** |
||
14 | * Registers PhpParser\Autoloader as an SPL autoloader. |
||
15 | * |
||
16 | * @param bool $prepend Whether to prepend the autoloader instead of appending |
||
17 | */ |
||
18 | static public function register($prepend = false) { |
||
26 | |||
27 | /** |
||
28 | * Handles autoloading of classes. |
||
29 | * |
||
30 | * @param string $class A class name. |
||
31 | */ |
||
32 | static public function autoload($class) { |
||
40 | } |
||
41 |