Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / classes / registration / class_BaseRegistration.php
index db2ec310c00e49e8771f841de06dc47ebfc41f4c..6dad6fdff0634c47af61d84fb5bdf0c4f33e23cc 100644 (file)
@@ -1,11 +1,12 @@
 <?php
 // Own namespace
 <?php
 // Own namespace
-namespace CoreFramework\Registration;
+namespace Org\Mxchange\CoreFramework\Registration;
 
 // Import framework stuff
 
 // Import framework stuff
-use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Filter\Filterable;
-use CoreFramework\Object\BaseFrameworkSystem;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
 
 /**
  * A general registration class.
 
 /**
  * A general registration class.
@@ -29,7 +30,7 @@ use CoreFramework\Object\BaseFrameworkSystem;
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseRegistration extends BaseFrameworkSystem {
+abstract class BaseRegistration extends BaseFrameworkSystem {
        /**
         * Pre-registration filter chain
         */
        /**
         * Pre-registration filter chain
         */
@@ -91,7 +92,7 @@ class BaseRegistration extends BaseFrameworkSystem {
         */
        protected function executePreFilters () {
                // Execute all pre filters
         */
        protected function executePreFilters () {
                // Execute all pre filters
-               $this->preRegistrationFilter->processFilters($this->getRequestInstance(), $this->getResponseInstance());
+               $this->preRegistrationFilter->processFilters(FrameworkBootstrap::getRequestInstance(), FrameworkBootstrap::getResponseInstance());
        }
 
        /**
        }
 
        /**
@@ -101,7 +102,7 @@ class BaseRegistration extends BaseFrameworkSystem {
         */
        protected function executePostFilters () {
                // Execute all post filters
         */
        protected function executePostFilters () {
                // Execute all post filters
-               $this->postRegistrationFilter->processFilters($this->getRequestInstance(), $this->getResponseInstance());
+               $this->postRegistrationFilter->processFilters(FrameworkBootstrap::getRequestInstance(), FrameworkBootstrap::getResponseInstance());
        }
 
 }
        }
 
 }