implements Countable, ArrayAccess, Iterator, Traversable
Source on GitHub
Represents a group of validation messages
Methods
public __construct ([array $messages])
Phalcon\Validation\Message\Group constructor
public Phalcon\Validation\Message offsetGet (int $index)
Gets an attribute a message using the array syntax
print_r($messages[0]);
public offsetSet (int $index, Phalcon\Validation\Message $message)
Sets an attribute using the array-syntax
$messages[0] = new \Phalcon\Validation\Message('Thi