コード例 #1
0
ファイル: Pinba.php プロジェクト: sp-niemand/yii2-pinba
 /**
  * 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());
     }
 }