original_string: public function getJoinedMessage($separator = "\n")
      {
          $messages = $this->getDetailMessages();
          $array = array();
          foreach ($messages as $rules) {
              foreach ($rules as $options) {
                  foreach ($options as $message) {
                      $array[] = $message;
                  }
              }
          }
          return implode($separator, array_unique($array));
      }
code: public function getJoinedMessage($separator = "\n")
      {
          $messages = $this->getDetailMessages();
          $array = array();
          foreach ($messages as $rules) {
              foreach ($rules as $options) {
                  foreach ($options as $message) {
                      $array[] = $message;
                  }
              }
          }
          return implode($separator, array_unique($array));
      }
code_tokens: public function getJoinedMessage ( $ separator = "\n" ) { $ messages = $ this -> getDetailMessages ( ) ; $ array = array ( ) ; foreach ( $ messages as $ rules ) { foreach ( $ rules as $ options ) { foreach ( $ options as $ message ) { $ array [ ] = $ message ; } } } return implode ( $ separator , array_unique ( $ array ) ) ; }
docstring: Returns error message string connected by specified separator
  
  @param string $separator
  @return string
docstring_tokens: Returns error message string connected by specified separator