Exemplo n.º 1
0
 /**
  * Cast to array
  * This allows the merged manifest config to be cached
  * between requests for significant performance improvement
  *
  * @return array
  */
 public function toArray()
 {
     $this->initalize();
     $array = parent::toArray();
     unset($array['default_service_manager_config']);
     unset($array['service_manager']);
     return $array;
 }
Exemplo n.º 2
0
 public function __construct(array $config)
 {
     $this->proxyDir = __DIR__ . '/../../../../../../data/proxies';
     $this->hydratorDir = __DIR__ . '/../../../../../../data/hydrators';
     parent::__construct($config);
 }