Exemple #1
0
 /**
  * Bootstrap method to be called during application bootstrap stage.
  * @param Application $app the application currently running
  */
 public function bootstrap($app)
 {
     if ($this->profileAction) {
         $app->attachBehavior('applicationProfiling', new ApplicationProfilingBehavior());
     }
 }