public function helperBroker() { if ($this->_helperBroker === null) { $this->_helperBroker = Helper_Broker::newInstance($this); } return $this->_helperBroker; }
public function testPrefixes2() { $this->assertEquals(array("JooS"), $this->_broker->getPrefixes()); $this->_broker->prependPrefix("JooS\\Helper"); $this->assertEquals(array("JooS\\Helper", "JooS"), $this->_broker->getPrefixes()); }