/** * getImpl * returns the implementation for given class * * @return string name of the concrete implementation */ public function getImpl($template) { if (!isset($this->_impl[$template])) { if (isset($this->parent)) { return $this->parent->getImpl($template); } return null; } return $this->_impl[$template]; }