From 89d4867f3c32419f02d3bfa85b4dae2bd244009f Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Fri, 30 Jul 2021 02:43:53 -0300 Subject: [PATCH] Front interface --- system/engine/interfaces/front.php | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/system/engine/interfaces/front.php b/system/engine/interfaces/front.php index 8eca1b9..d20951d 100644 --- a/system/engine/interfaces/front.php +++ b/system/engine/interfaces/front.php @@ -6,9 +6,24 @@ */ - namespace Phacil\Framework\Interfaces; +namespace Phacil\Framework\Interfaces; - interface front { +use Phacil\Framework\Action; +use Phacil\Framework\ActionSystem; +interface front { + + /** + * @param ActionSystem $pre_action + * @return void + */ public function addPreAction(\Phacil\Framework\ActionSystem $pre_action); + + /** + * @param Action $action + * @param string $error + * @return void + */ + public function dispatch(\Phacil\Framework\Action $action, $error); + } \ No newline at end of file