Skip to content

Instantly share code, notes, and snippets.

@basz
Created July 26, 2012 14:10
Show Gist options
  • Select an option

  • Save basz/3182268 to your computer and use it in GitHub Desktop.

Select an option

Save basz/3182268 to your computer and use it in GitHub Desktop.
Module.php
public function getViewHelperConfig() {
return array(
'factories' => array(
'Site' => function($sm) {
var_dump($sm->getRegisteredServices());
// dumps viewhelpers - this $sm is the SM from the plugin loader... not the global one?
// how would i get to that one, from here...?
...
array(4) {
["invokableClasses"]=>
array(79) {
[0]=>
string(7) "doctype"
[1]=>
string(8) "basepath"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment