/** * Get parsed template content * @return string */ public function content() { $templatePath = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Template' . DIRECTORY_SEPARATOR . "{$this->_template}.tpl"; $source = Mtool_Codegen_Filesystem::read($templatePath); return $this->parse($source); }