Ejemplo n.º 1
0
 /**
  * Configurator's constructor.
  *
  * @param boolean $overrideConfig define if we should override config on extend()
  */
 public function __construct(ApplicationInterface $application, BundleLoader $bundleLoader)
 {
     $this->application = $application;
     $this->bundleLoader = $bundleLoader;
     $this->baseRepository = $application->getBaseRepository();
     $this->context = $application->getContext();
     $this->environment = $application->getEnvironment();
     $this->overrideConfig = $application->isOverridedConfig();
 }