public getFailures ( ) : array | ||
return | array | Array of failed actions |
public function getFailures()
{
$errors = [];
foreach ($this->getActionExceptions() as $actionException) {
$errors[] = $actionException->getMessage();
}
return $errors;
}