Add protected method FormTrait::unsetFlash()

This commit is contained in:
Matias Griese
2019-01-29 19:32:19 +02:00
parent ad7fdd5c2b
commit 5f5bfdaa42

View File

@@ -290,6 +290,11 @@ trait FormTrait
return $this->flash;
}
protected function unsetFlash(): void
{
$this->flash = null;
}
/**
* Set all errors.
*