<?php
/**
* Melis Technology (http://www.melistechnology.com]
*
* @copyright Copyright (c] 2015 Melis Technology (http://www.melistechnology.com]
*
*/
return [
'router' => [
'routes' => [
'melis-backoffice' => [
'child_routes' => [
'application-ModuleTpl' => [
'type' => 'Literal',
'options' => [
'route' => 'ModuleTpl',
'defaults' => [
'__NAMESPACE__' => 'ModuleTpl\Controller',
],
],
'may_terminate' => true,
'child_routes' => [
'default' => [
'type' => 'Segment',
'options' => [
'route' => '/[:controller[/:action]]',
'constraints' => [
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
],
'defaults' => [
],
],
],
],
],
],
],
],
],
'service_manager' => [
#TCSERVICES
],
'controllers' => [
'invokables' => [
#TCCONTROLLERS
],
],
'view_manager' => [
'template_map' => [
],
'template_path_stack' => [
__DIR__ . '/../view',
],
'strategies' => [
'ViewJsonStrategy',
],
],
];
|