Skip to content

Instantly share code, notes, and snippets.

@Ocramius
Forked from m0ppers/gist:1634220
Created January 18, 2012 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ocramius/1634276 to your computer and use it in GitHub Desktop.
Save Ocramius/1634276 to your computer and use it in GitHub Desktop.
Zend Framework 2 view helpers overriding
'Zend\View\PhpRenderer' => array(
'parameters' => array(
'options' => array(
'script_paths' => array(
'MyModule' => __DIR__ . '/../view',
),
),
),
),
'Zend\View\HelperLoader' => array(
'parameters' => array(
'map' => array('myhelper' => 'Application\View\Helper\MyHelper'),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment