Example #1
0
 public function viewHelperConfiguration()
 {
     $helperConfiguration = new HelperConfiguration();
     $helperConfiguration->setArguments('uri', $this->router);
     return $helperConfiguration;
 }
Example #2
0
 public function viewHelperInjectors()
 {
     $defaultContainer = new Container();
     $defaultConfiguration = new HelperConfiguration();
     $defaultConfiguration->configure($defaultContainer);
     $viewHelperInjectors = new ArrayIterator();
     $viewHelperInjectors->append($defaultContainer);
     return $viewHelperInjectors;
 }