| Conditions | 7 | 
| Paths | 16 | 
| Total Lines | 26 | 
| Code Lines | 16 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 16 | public static function getLoader()  | 
            ||
| 17 |     { | 
            ||
| 18 |         if (null !== self::$loader) { | 
            ||
| 19 | return self::$loader;  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 |         spl_autoload_register(array('ComposerAutoloaderInitWorkflowEngine', 'loadClassLoader'), true, true); | 
            ||
| 23 | self::$loader = $loader = new \Composer\Autoload\ClassLoader();  | 
            ||
| 24 |         spl_autoload_unregister(array('ComposerAutoloaderInitWorkflowEngine', 'loadClassLoader')); | 
            ||
| 25 | |||
| 26 |         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); | 
            ||
| 27 |         if ($useStaticLoader) { | 
            ||
| 28 | require_once __DIR__ . '/autoload_static.php';  | 
            ||
| 29 | |||
| 30 | call_user_func(\Composer\Autoload\ComposerStaticInitWorkflowEngine::getInitializer($loader));  | 
            ||
| 31 |         } else { | 
            ||
| 32 | $classMap = require __DIR__ . '/autoload_classmap.php';  | 
            ||
| 33 |             if ($classMap) { | 
            ||
| 34 | $loader->addClassMap($classMap);  | 
            ||
| 35 | }  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | $loader->setClassMapAuthoritative(true);  | 
            ||
| 39 | $loader->register(true);  | 
            ||
| 40 | |||
| 41 | return $loader;  | 
            ||
| 42 | }  | 
            ||
| 44 |