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