- Added a new initialize() method launched after __construct()

This commit is contained in:
Dave Mc Nicoll 2024-06-05 17:48:14 +00:00
parent 5e9ad29f3c
commit 195586a078
1 changed files with 4 additions and 0 deletions

View File

@ -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
{ {