Example #1
0
 /**
  * Start the bootstrap with the
  * application instance
  *
  * @param Application $application
  * @internal param Application $app
  */
 public function __construct(Application $application)
 {
     $this->application = $application;
     $this->config = Config::getInstance();
     // Add necessary config files
     if (file_exists(PROJECT_CONFIG_FILE)) {
         $this->config->addConfigFile(PROJECT_CONFIG_FILE);
     }
 }