I tried to reproduce the language of expression in validation, and I found something strange.
Consider the Dog model
class Dog
{
private $name = 'aa';
...
}
'aa'! = 'aa' => false, so the verification service message is cool, but try to do the same with
class Dog
{
private $name = '';
...
}
Does this return no error during validation? What for?
source
share