SimplePhpPageBuilder::openTag PHP Method

openTag() protected method

Multiple tags will be receiving input at the same time.
protected openTag ( SimpleTag $tag )
$tag SimpleTag New content tag.
    protected function openTag($tag)
    {
        $name = $tag->getTagName();
        if (!in_array($name, array_keys($this->tags))) {
            $this->tags[$name] = array();
        }
        $this->tags[$name][] = $tag;
    }