original_string: public function getAllMessages()
      {
          $messages = [];
          foreach (array_keys($this->errors) as $key) {
              $messages = array_merge($messages, $this->getMessages($key));
          }
          return $messages;
      }
code: public function getAllMessages()
      {
          $messages = [];
          foreach (array_keys($this->errors) as $key) {
              $messages = array_merge($messages, $this->getMessages($key));
          }
          return $messages;
      }
code_tokens: public function getAllMessages ( ) { $ messages = [ ] ; foreach ( array_keys ( $ this -> errors ) as $ key ) { $ messages = array_merge ( $ messages , $ this -> getMessages ( $ key ) ) ; } return $ messages ; }
docstring: get all messages
  
  @return  array
docstring_tokens: get all messages