Phalcon\Test\Models\Subscriptores::beforeValidation PHP Method

beforeValidation() public method

public beforeValidation ( )
    public function beforeValidation()
    {
        if ($this->email == '[email protected]') {
            $this->appendMessage(new Message('Sorry Marina, but you are not allowed here'));
            return false;
        }
        return true;
    }