Skip to content

Instantly share code, notes, and snippets.

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