]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Feb 2017 17:16:42 +0000 (18:16 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
- added "import" of SeekableIterator (SPL)
- added "import" of Registry
- InvalidFilterChainException is no longer deprecated
- added "import" of it
- added 'shutdown' filter chain

Signed-off-by: Roland Häder <roland@mxchange.org>
application/tests/classes/commands/console/class_TestsConsoleMainCommand.php
application/tests/classes/controller/console/class_TestsConsoleDefaultNewsController.php
inc/main/classes/controller/class_BaseController.php
inc/main/classes/database/result/class_CachedDatabaseResult.php
inc/main/exceptions/filter/class_InvalidFilterChainException.php
inc/main/interfaces/iterator/class_SeekableWritableFileIterator.php

index 66c8147b569d3b3c680f25963efc2bdaee33674c..44cb82ba7ba749531b97c47aca0adf39a3b98409 100644 (file)
@@ -7,6 +7,7 @@ use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 733d61a9f5ec601b455ceb4be32f4046da02baed..9583e12412bacf6efefafc2ff374afe1dbbd220e 100644 (file)
@@ -45,10 +45,12 @@ class TestsConsoleDefaultNewsController extends BaseController implements Contro
 
                // Init additional filter chains
                /*
-               foreach (array('bootstrap', 'activation','shutdown') as $filterChain) {
+                * @TODO maybe later more:
+               'bootstrap', 'activation',
+               */
+               foreach (array('shutdown') as $filterChain) {
                        $this->initFilterChain($filterChain);
                } // END - foreach
-               */
        }
 
        /**
index 0126120a33c7985475d97f273fee25f45cd5f638..6f8a1ec548fcca8f0f6b7669acac8610b7160f49 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Controller;
 
 // Import framework stuff
+use CoreFramework\Chain\Filter\InvalidFilterChainException;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filter\Filterable;
 use CoreFramework\Object\BaseFrameworkSystem;
index 5310910151ea98b9837a7c18ca252eb61340c933..9c2586c974c5c222937514244de8a2b67e320b0f 100644 (file)
@@ -12,6 +12,9 @@ use CoreFramework\Result\Search\SearchableResult;
 use CoreFramework\Result\Update\UpdateableResult;
 use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
+// Import SPL stuff
+use \SeekableIterator;
+
 /**
  * A database result class
  *
index a859a55e69f197293529dbe04475a34d4690ca92..cbaa68217c24fa033f3c0bc1ae4521363766ca85 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Deprecated;
+namespace CoreFramework\Chain\Filter;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
index 205fa99512de6d5692ce42bfc0afad80bec02595..17a93cb173ceaa57ff37e84d9eb09f47706a6454 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Iterator\Filesystem;
 
+// Import SPL stuff
+use \SeekableIterator;
+
 /**
  * An interface for seekable iterators which also allow to write to the file
  * in different ways.