Revision: 163
http://sourceforge.net/p/beeframework/code/163
Author: m_plomer
Date: 2014-07-02 10:50:58 +0000 (Wed, 02 Jul 2014)
Log Message:
-----------
- MVC Dispatcher: introduced IRequestBuilder, DefaultRequestBuilder
Modified Paths:
--------------
trunk/framework/Bee/MVC/Dispatcher.php
Modified: trunk/framework/Bee/MVC/Dispatcher.php
===================================================================
--- trunk/framework/Bee/MVC/Dispatcher.php 2014-07-02 10:40:43 UTC (rev 162)
+++ trunk/framework/Bee/MVC/Dispatcher.php 2014-07-02 10:50:58 UTC (rev 163)
@@ -207,6 +207,8 @@
$this->requestBuilder = new DefaultRequestBuilder();
}
+ self::$currentRequest = $this->requestBuilder->buildRequestObject();
+
$this->handlerMapping = $this->context->getBean(self::HANDLER_MAPPING_BEAN_NAME, 'Bee_MVC_IHandlerMapping');
$this->viewResolver = $this->context->getBean(self::VIEW_RESOLVER_BEAN_NAME, 'Bee_MVC_IViewResolver');
@@ -221,8 +223,6 @@
} catch (Bee_Context_NoSuchBeanDefinitionException $ex) {
$this->getLog()->info('no exception resolver configured');
}
-
- self::$currentRequest = $this->requestBuilder->buildRequestObject();
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|