Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 2c9e759

Browse files
committed
Application config with PHP 5.5 ::class style
1 parent a65ae36 commit 2c9e759

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

module/Application/config/module.config.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* @license http://framework.zend.com/license/new-bsd New BSD License
88
*/
99

10+
namespace Application;
11+
1012
return array(
1113
'router' => array(
1214
'routes' => array(
@@ -73,7 +75,7 @@
7375
),
7476
'controllers' => array(
7577
'invokables' => array(
76-
'Application\Controller\Index' => 'Application\Controller\IndexController'
78+
'Application\Controller\Index' => Controller\IndexController::class
7779
),
7880
),
7981
'view_manager' => array(

0 commit comments

Comments
 (0)