src/Search/Engine/Sphinx/Response.php
public function getMessages()
    {
        $messages = array();

        if (!empty($this->error)) {
            $messages[] = $this->error;
        }

        if (!empty($this->warning)) {
            $messages[] = $this->warning;
        }

        return $messages;
    }
public function getMessages()
    {
        $messages = array();

        if (!empty($this->error)) {
            $messages[] = $this->error;
        }

        if (!empty($this->warning)) {
            $messages[] = $this->warning;
        }

        return $messages;
    }
public function getMessages ( ) { $ messages = array ( ) ; if ( ! empty ( $ this -> error ) ) { $ messages [ ] = $ this -> error ; } if ( ! empty ( $ this -> warning ) ) { $ messages [ ] = $ this -> warning ; } return $ messages ; }
Get all messages

@return string
Get all messages