You are here

public function HamlNode::getLastChild in Sassy 7

* Returns the last child node of this node. *

Return value

HamlNode the last child node of this node

File

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

Class

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

Code

public function getLastChild() {
  return $this->children[count($this->children) - 1];
}