You are here

public function HamlNode::getRenderer in Sassy 7

* Returns the renderer. *

Return value

HamlRenderer the rendered

File

phamlp/haml/tree/HamlNode.php, line 219

Class

HamlNode
HamlNode class. Base class for all Haml nodes. @package PHamlP @subpackage Haml.tree

Code

public function getRenderer() {
  if (empty($this->_r)) {
    $this->_r = $this->root->renderer;
  }
  return $this->_r;
}