public function addHelper(HelperInterface $helper) { $this->helpers[$helper->getName()] = $helper; $helper->register($this); return $this; }