- Added a new initialize() method launched after __construct()
This commit is contained in:
parent
5e9ad29f3c
commit
195586a078
|
@ -54,7 +54,11 @@ class FormContext implements FormContextInterface
|
||||||
$this->fillValues();
|
$this->fillValues();
|
||||||
|
|
||||||
$this->files = $request->getUploadedFiles() ?: [];
|
$this->files = $request->getUploadedFiles() ?: [];
|
||||||
|
|
||||||
|
$this->initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function initialize() : void {}
|
||||||
|
|
||||||
public function valid() : bool
|
public function valid() : bool
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue