| 1 | <?php |
||
| 9 | class Autoloader |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Registers a new autoloader which is compatible with this component |
||
| 13 | */ |
||
| 14 | public static function register() |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Performs the autoloading of classes in this component by using psr-4 standard |
||
| 21 | * |
||
| 22 | * @param $class |
||
| 23 | * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader-examples.md |
||
| 24 | */ |
||
| 25 | public static function doAutoload($class) |
||
| 50 | } |
||
| 51 |