Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Calling direct methods on ZF2 view helpers
// as in ZF2 there's no more automagical calling of view helpers
// things are a changed a bit...
$view->broker('helper', array(/*options to pass to the helper*/));
// or
$view->broker('helper')->direct(array(/*options to pass to the helper*/));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.