-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmodule.local.php
More file actions
55 lines (46 loc) · 1.28 KB
/
module.local.php
File metadata and controls
55 lines (46 loc) · 1.28 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
<?php
namespace ErrorHeroModule\Spec\Fixture\config;
use ErrorHeroModule\Controller\ErrorPreviewController;
use ErrorHeroModule\Handler\Logging;
use ErrorHeroModule\Handler\LoggingFactory;
use ErrorHeroModule\Listener\Mvc;
use ErrorHeroModule\Listener\MvcFactory;
use Laminas\ServiceManager\Factory\InvokableFactory;
return [
'controllers' => [
'factories' => [
ErrorPreviewController::class => InvokableFactory::class,
],
],
'router' => [
'routes' => [
'error-preview' => [
'type' => 'Segment',
'options' => [
'route' => '/error-preview[/][:action]',
'defaults' => [
'controller' => ErrorPreviewController::class,
'action' => 'exception',
],
],
],
],
],
'service_manager' => [
'abstract_factories' => [
],
'factories' => [
Mvc::class => MvcFactory::class,
Logging::class => LoggingFactory::class,
],
],
'listeners' => [
Mvc::class,
],
'view_manager' => [
'template_path_stack' => [
__DIR__.'/../view',
__DIR__.'/../../../view',
],
],
];