This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
/
module.config.php
147 lines (142 loc) · 6.08 KB
/
module.config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php
return array(
'ZFTool' => array(
'disable_usage' => false, // set to true to disable showing available ZFTool commands in Console.
),
// -----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=-----=
'controllers' => array(
'invokables' => array(
'ZFTool\Controller\Info' => 'ZFTool\Controller\InfoController',
'ZFTool\Controller\Config' => 'ZFTool\Controller\ConfigController',
'ZFTool\Controller\Module' => 'ZFTool\Controller\ModuleController',
'ZFTool\Controller\Classmap' => 'ZFTool\Controller\ClassmapController',
'ZFTool\Controller\Create' => 'ZFTool\Controller\CreateController',
'ZFTool\Controller\Install' => 'ZFTool\Controller\InstallController',
'ZFTool\Controller\Diagnostics' => 'ZFTool\Controller\DiagnosticsController',
),
),
'view_manager' => array(
'template_map' => array(
'zf-tool/diagnostics/run' => __DIR__ . '/../view/diagnostics/run.phtml',
)
),
'console' => array(
'router' => array(
'routes' => array(
'zftool-version' => array(
'options' => array(
'route' => 'version',
'defaults' => array(
'controller' => 'ZFTool\Controller\Info',
'action' => 'version',
),
),
),
'zftool-version2' => array(
'options' => array(
'route' => '--version',
'defaults' => array(
'controller' => 'ZFTool\Controller\Info',
'action' => 'version',
),
),
),
'zftool-config-list' => array(
'options' => array(
'route' => 'config list [--local|-l]:local',
'defaults' => array(
'controller' => 'ZFTool\Controller\Config',
'action' => 'list',
),
),
),
'zftool-config' => array(
'options' => array(
'route' => 'config <action> [<arg1>] [<arg2>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Config',
'action' => 'get',
),
),
),
'zftool-classmap-generate' => array(
'options' => array(
'route' => 'classmap generate <directory> [<destination>] [--append|-a] [--overwrite|-w]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Classmap',
'action' => 'generate',
),
),
),
'zftool-modules-list' => array(
'options' => array(
'route' => 'modules [list]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Module',
'action' => 'list',
),
),
),
'zftool-create-project' => array(
'options' => array(
'route' => 'create project <path>',
'defaults' => array(
'controller' => 'ZFTool\Controller\Create',
'action' => 'project',
),
),
),
'zftool-create-module' => array(
'options' => array(
'route' => 'create module <name> [<path>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Create',
'action' => 'module',
),
),
),
'zftool-create-controller' => array(
'options' => array(
'route' => 'create controller <name> <module> [<path>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Create',
'action' => 'controller',
),
),
),
'zftool-create-action' => array(
'options' => array(
'route' => 'create action <name> <controllerName> <module>',
'defaults' => array(
'controller' => 'ZFTool\Controller\Create',
'action' => 'method',
),
),
),
'zftool-install-zf' => array(
'options' => array(
'route' => 'install zf <path> [<version>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Install',
'action' => 'zf',
),
),
),
'zftool-diagnostics' => array(
'options' => array(
'route' => '(diagnostics|diag) [-v|--verbose]:verbose [--debug] [-q|--quiet]:quiet [-b|--break]:break [<filter>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Diagnostics',
'action' => 'run',
),
),
),
),
),
),
'diagnostics' => array(
'ZF' => array(
'PHP Version' => array('PhpVersion', '5.3.3'),
)
)
);