original_string: public function danger($message, $removeAfterAccess = true)
      {
          Yii::$app->session->addFlash('danger', $message, $removeAfterAccess);
      }
code: public function danger($message, $removeAfterAccess = true)
      {
          Yii::$app->session->addFlash('danger', $message, $removeAfterAccess);
      }
code_tokens: public function danger ( $ message , $ removeAfterAccess = true ) { Yii :: $ app -> session -> addFlash ( 'danger' , $ message , $ removeAfterAccess ) ; }
docstring: Adds flash message of 'danger' type.
  @param string $message the flash message to be translated.
  @param bool $removeAfterAccess message removal after access only.
docstring_tokens: Adds flash message of danger type .