Ejemplo n.º 1
0
 /**
  * Create an injector
  *
  * @param array $modules
  * @return Injector
  */
 public function createInjector(array $modules = [])
 {
     $reflection = ReflectionImpl::create($this->cache);
     return InjectorImpl::create(array_merge([new SpotModule($reflection, $this->storage, $this->cache, $this->isDebug(), $this->dump), "Spot\\Domain\\DomainModule"], $modules), $reflection, $this->storage, $this->logger);
 }