Zend\Authentication\Result::getMessages
Returns an array of string reasons why the authentication attempt was unsuccessful
If authentication was successful, this method returns an empty array.
Signature
public function getMessages()
Returns
- array