Skip to content

Commit

Permalink
Merge pull request zendframework#80 from samsonasik/patch-1
Browse files Browse the repository at this point in the history
Fixes zendframework#78 : using uppercase for 'Application' service
  • Loading branch information
weierophinney committed Feb 29, 2016
2 parents ae54c5f + bc4a2b4 commit b8bf785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Service/ServiceListenerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class ServiceListenerFactory implements FactoryInterface
'invokables' => [],
'factories' => [
'Application' => 'Zend\Mvc\Service\ApplicationFactory',
'application' => 'Zend\Mvc\Service\ApplicationFactory',
'config' => 'Zend\Mvc\Service\ConfigFactory',
'ControllerManager' => 'Zend\Mvc\Service\ControllerManagerFactory',
'ControllerPluginManager' => 'Zend\Mvc\Service\ControllerPluginManagerFactory',
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ViewHelperManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private function createUrlHelperFactory(ContainerInterface $services)
$router = Console::isConsole() ? 'HttpRouter' : 'Router';
$helper->setRouter($services->get($router));

$match = $services->get('application')
$match = $services->get('Application')
->getMvcEvent()
->getRouteMatch()
;
Expand Down

0 comments on commit b8bf785

Please sign in to comment.