/** * @param string $name * @param array $arguments * @return mixed */ public function __call($name, $arguments) { if ($this->_helperBroker === null) { throw new Vmvc_Exception('HelperBroker is not set.'); } return $this->_helperBroker->callAlias($name, $arguments); }
/** * @depends testSetHelper */ public function testGetHelper(Vmvc_HelperBroker $object) { $helper = $object->getHelper('tEst'); $this->assertInstanceOf('ArrayObject', $helper); }