public function getErrorMessages() {
        $messages = array();
        
        foreach($this->entries as $entry) {
            if($entry->isError()) {
                $messages[] = $entry->getMessage();
            }
        }
        
        return $messages;
    }
public function getErrorMessages() {
        $messages = array();
        
        foreach($this->entries as $entry) {
            if($entry->isError()) {
                $messages[] = $entry->getMessage();
            }
        }
        
        return $messages;
    }
public function getErrorMessages ( ) { $ messages = array ( ) ; foreach ( $ this -> entries as $ entry ) { if ( $ entry -> isError ( ) ) { $ messages [ ] = $ entry -> getMessage ( ) ; } } return $ messages ; }
Returns an array of error message strings

@return string[]
Returns an array of error message strings