loadConfiguration() 공개 메소드

public loadConfiguration ( )
예제 #1
0
 public function loadConfiguration()
 {
     $config = $this->getConfig(['testingMappers' => TRUE]);
     $this->testingMappers = $config['testingMappers'];
     parent::loadConfiguration();
     $this->setupEntityCreator();
 }
예제 #2
0
파일: Extension.php 프로젝트: ytnuk/orm
 public function loadConfiguration()
 {
     $this->validateConfig($this->defaults);
     $providers = $this->compiler->getExtensions(Provider::class);
     array_walk($providers, function (Provider $provider) {
         $this->config = $this->validateConfig($this->config, $provider->getOrmResources());
     });
     parent::loadConfiguration();
     $builder = $this->getContainerBuilder();
     $builder->addDefinition($this->prefix('grid.control'))->setImplement(Grid\Control\Factory::class);
 }