From c3371dd72d6ef51d3ae5ef48e0565d1553f81120 Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Thu, 22 Jul 2021 15:19:02 -0300 Subject: [PATCH] Controller doc --- system/engine/controller.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/system/engine/controller.php b/system/engine/controller.php index e7d85f8..c344f35 100644 --- a/system/engine/controller.php +++ b/system/engine/controller.php @@ -14,7 +14,19 @@ use RuntimeException; use SmartyException; use Exception; -/** @package Phacil\Framework */ +/** + * Extend this class to create interation with your module controller to Phacil engine controller. + * + * Use as: + * class YouClass extends \Phacil\Framework\Controller {} + * + * You can use the __construct function on call the \Phacil\Framework\Register object inside parent. + * + * Example: public funcion __construct(\Phacil\Framework\Registry $registry){ parent::__construct($registry); YOUR_CODE; } + * + * @package Phacil\Framework + * @since 1.0 + * */ abstract class Controller { /** *