Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | |||
26 | |||
27 | |||
28 | /** |
||
29 | * @return \EventEspresso\core\Psr4Autoloader |
||
30 | */ |
||
31 | public function initializeAutoloader() { |
||
32 | static $initialized = false; |
||
33 | if ( ! $initialized) { |
||
34 | // instantiate PSR4 autoloader |
||
35 | EE_Psr4AutoloaderInit::$psr4_loader = new \EventEspresso\core\Psr4Autoloader(); |
||
36 | // register the autoloader |
||
37 | EE_Psr4AutoloaderInit::$psr4_loader->register(); |
||
38 | // register the base directories for the namespace prefix |
||
39 | EE_Psr4AutoloaderInit::$psr4_loader->addNamespace('EventEspresso', EE_PLUGIN_DIR_PATH); |
||
58 | // Location: /core/EE_Psr4AutoloaderInit.core.php |