Skip to content

Instantly share code, notes, and snippets.

View gist:643a600061593ae04420
<?php
return [
// ...
'invokables' => [
// move your controller declaration from here
],
'factories' => [
// to here
'yourController' => function($sl) {
View gist:7f94e05f3d429804e8f7
<?php
return array(
'view_manager' => array(
'template_map' => array(
'project/search/index' => __DIR__ . '/../view/project/search/index.phtml',
),
'template_path_stack' => array(
__DIR__ . '/../view',
),
),