Hi,
I'm starting naming like like this:
'controllers' => array(
'invokables' => array(
'mymodule_controller_base' =>
'mymodule\Controller\BaseController',
'mymodule_controller_test' =>
'mymodule\Controller\TestController'
),
),
'router' => array(
'routes' => array(
'mymodule_route' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(
'route' => '/',
'defaults' => array(
'controller' => 'mymodule_controller_base',
'action' => 'index',
),
),
),
I'm wondering if it is acceptable or not.
What's the best practise ?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/zend-2-key-name-in-the-config-best-practise-tp4659857.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]