Sulu\Bundle\MarkupBundle\Tag\TagRegistry::getTag PHP Method

getTag() public method

public getTag ( $name, $type )
    public function getTag($name, $type)
    {
        if (!array_key_exists($type, $this->tags) || !array_key_exists($name, $this->tags[$type])) {
            throw new TagNotFoundException($name, $type);
        }
        return $this->tags[$type][$name];
    }