Continued:
[core.git] / framework / main / classes / actions / class_BaseAction.php
index 4205c9eac000d7af928e41473a2bfdde56d2af01..33e995ab1c501255a52116fcb107a7dacc199e57 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Mxchange\CoreFramework\Action;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
+use Org\Mxchange\CoreFramework\Traits\Resolver\ResolverTrait;
 
 /**
  * A general action class. You shall extend this class if you are going to write
@@ -12,7 +13,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -30,13 +31,16 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 abstract class BaseAction extends BaseFrameworkSystem {
+       // Load traits
+       use ResolverTrait;
+
        /**
         * Protected constructor
         *
         * @param       $className      Name of the class
         * @return      void
         */
-       protected function __construct ($className) {
+       protected function __construct (string $className) {
                // Call parent constructor
                parent::__construct($className);
        }