* @return void
*/
public final function entryPoint () {
- // Get a web output class
- $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class');
-
- // Set it in this application
- $this->setWebOutputInstance($outputInstance);
-
// Create a new request object
$requestInstance = ObjectFactory::createObjectByName('HttpRequest');
// Get a controller instance as well
$this->controllerInstance = $resolverInstance->resolveController();
+ // Get a web output class
+ $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this));
+
+ // Set it in this application
+ $this->setWebOutputInstance($outputInstance);
+
// Handle the request
$this->controllerInstance->handleRequest($requestInstance, $responseInstance);
}