Esempio n. 1
0
 /**
  * Configure the application.
  */
 public function configure()
 {
     parent::configure();
     // copy config values to the container
     $config = $this->getConfig();
     $this->container->setParameter('log_error_file', $config->get('log_error_file'));
 }
Esempio n. 2
0
 /**
  * This method is called by Splot Framework during the configuration phase.
  *
  * At this point all modules have been added to the module list and all parameters and configs have
  * been loaded. Therefore it is a good place to configure some behavior based on that
  * information.
  *
  * The purpose of it is to perform any additional configuration on the application's part
  * and register any application wide services. This is a better place to register
  * your services than ::bootstrap() method as generally, bootstrap() method should not be
  * overwritten unless you know what you're doing.
  */
 public function configure()
 {
     parent::configure();
 }