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