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 66c8147..44cb82b 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 733d61a..9583e12 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 0126120..6f8a1ec 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 5310910..9c2586c 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 a859a55..cbaa682 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Deprecated;
+namespace CoreFramework\Chain\Filter;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
index 205fa99..17a93cb 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.