This repository was archived by the owner on May 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathmodule.config.php
More file actions
104 lines (102 loc) · 3.84 KB
/
module.config.php
File metadata and controls
104 lines (102 loc) · 3.84 KB
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
<?php
use User\GitHub;
return [
'view_manager' => [
'template_map' => [
'helper/module' => __DIR__ . '/../view/helper/module.phtml',
'scn-social-auth/user/login' => __DIR__ . '/../view/scn-social-auth/user/login.phtml',
'user/helper/new-users' => __DIR__ . '/../view/user/helper/new-users.phtml',
'user/module/orgs' => __DIR__ . '/../view/user/module/orgs.phtml',
'user/module/repos' => __DIR__ . '/../view/user/module/repos.phtml',
'zfc-user/user/index' => __DIR__ . '/../view/zfc-user/user/index.phtml',
],
'template_path_stack' => [
__DIR__ . '/../view',
],
],
'router' => [
'routes' => [
'zfcuser' => [
'options' => [
'route' => '/auth',
],
],
'scn-social-auth-user' => [
'options' => [
'route' => '/auth',
'defaults' => [
'controller' => 'User\Controller\Index',
],
],
],
'user' => [
'type' => 'Literal',
'options' => [
'route' => '/user',
'defaults' => [
'controller' => 'User\Controller\Index',
'action' => 'index',
],
],
'may_terminate' => true,
'child_routes' => [
'module' => [
'type' => 'Literal',
'options' => [
'route' => '/module',
],
'may_terminate' => false,
'child_routes' => [
'list' => [
'type' => 'Literal',
'options' => [
'route' => '/render-list',
'defaults' => [
'action' => 'render-module-list',
],
],
],
'add' => [
'type' => 'Literal',
'options' => [
'route' => '/add',
'defaults' => [
'action' => 'add',
],
],
],
'remove' => [
'type' => 'Segment',
'options' => [
'route' => '/:module_id/remove',
'constraints' => [
'module_id' => '[0-9]+',
],
'defaults' => [
'action' => 'remove',
],
],
],
],
],
],
],
],
],
'controllers' => [
'factories' => [
'User\Controller\Index' => 'User\Controller\IndexControllerFactory',
],
],
'view_helpers' => [
'factories' => [
'newUsers' => 'User\View\Helper\NewUsersFactory',
'userOrganizations' => 'User\View\Helper\UserOrganizationsFactory',
],
],
'service_manager' => [
'invokables' => [
GitHub\LoginListener::class => GitHub\LoginListener::class,
],
],
];