original_string: public function addSuccessMessage($message, $params = array())
      {
          $message = $this->trans($message, $params);
          static::$messages[$message] = array(
              'type' => 'success',
              'bootstrapType' => 'success',
              'message' => $message
          );
      }
code: public function addSuccessMessage($message, $params = array())
      {
          $message = $this->trans($message, $params);
          static::$messages[$message] = array(
              'type' => 'success',
              'bootstrapType' => 'success',
              'message' => $message
          );
      }
code_tokens: public function addSuccessMessage ( $ message , $ params = array ( ) ) { $ message = $ this -> trans ( $ message , $ params ) ; static :: $ messages [ $ message ] = array ( 'type' => 'success' , 'bootstrapType' => 'success' , 'message' => $ message ) ; }
docstring: add a success message to the api call
  @param $message
docstring_tokens: add a success message to the api call