Example #1
0
 /**
  * @param IConfiguration $configuration
  * @param IScanner $scanner
  * @param ICacheStorage $cacheStorage
  *
  * @return IReflectionLoader
  */
 public static function factory(IConfiguration $configuration, IScanner $scanner, ICacheStorage $cacheStorage)
 {
     $configSection = $configuration->query(ReflectionLoader::class);
     $reflectionLoader = new self($scanner, $cacheStorage);
     throw new \Exception('need to be updated.');
     $reflectionLoader->addPathList($configSection->getValue('path', []));
     return $reflectionLoader;
 }