From 195586a07862440cfed104477319706c4d1c3a7e Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Wed, 5 Jun 2024 17:48:14 +0000 Subject: [PATCH] - Added a new initialize() method launched after __construct() --- src/Method/FormContext.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Method/FormContext.php b/src/Method/FormContext.php index 3dcab6b..a048490 100644 --- a/src/Method/FormContext.php +++ b/src/Method/FormContext.php @@ -54,7 +54,11 @@ class FormContext implements FormContextInterface $this->fillValues(); $this->files = $request->getUploadedFiles() ?: []; + + $this->initialize(); } + + public function initialize() : void {} public function valid() : bool {