2016-10-25 09:38:41 +02:00
|
|
|
<?php return new ArrayObject([
|
2016-10-25 00:23:03 +02:00
|
|
|
'middleware_pipeline' => [
|
|
|
|
Zend\Expressive\Container\ApplicationFactory::ROUTING_MIDDLEWARE,
|
2016-10-25 10:48:15 +02:00
|
|
|
['middleware' => Zend\Expressive\Helper\UrlHelperMiddleware::class],
|
2016-10-25 00:23:03 +02:00
|
|
|
Zend\Expressive\Container\ApplicationFactory::DISPATCH_MIDDLEWARE,
|
|
|
|
],
|
|
|
|
'routes' => [
|
|
|
|
[
|
|
|
|
'path' => '/',
|
2016-10-25 10:48:15 +02:00
|
|
|
'middleware' => Test\App\HomeAction::class,
|
2016-10-25 00:23:03 +02:00
|
|
|
'allowed_methods' => [ 'GET' ],
|
2016-10-25 10:48:15 +02:00
|
|
|
'name' => 'home',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'path' => '/test/another/path',
|
|
|
|
'middleware' => Test\App\HomeAction::class,
|
|
|
|
'allowed_methods' => [ 'GET' ],
|
|
|
|
'name' => 'other',
|
2016-10-25 00:23:03 +02:00
|
|
|
],
|
|
|
|
],
|
2016-10-25 09:38:41 +02:00
|
|
|
]);
|