protected filter_lasttype ( ) : boolean | ||
return | boolean |
protected function filter_lasttype()
{
if ($this->parent === null) {
return false;
} else {
return count($this->parent->getChildrenByTag($this->tag, 'total', false)) - 1 === $this->typeIndex();
}
}