public function getTemplateName (string $type, string $name) : string
    {
        $component = $this->finder->findComponent($type, $name);

        if (null === $component)
        {
            throw new UnknownComponentException($name, $type);
        }

        return $component->getImportPath();
    }
public function getTemplateName (string $type, string $name) : string
    {
        $component = $this->finder->findComponent($type, $name);

        if (null === $component)
        {
            throw new UnknownComponentException($name, $type);
        }

        return $component->getImportPath();
    }
public function getTemplateName ( string $ type , string $ name ) : string { $ component = $ this -> finder -> findComponent ( $ type , $ name ) ; if ( null === $ component ) { throw new UnknownComponentException ( $ name , $ type ) ; } return $ component -> getImportPath ( ) ; }
Returns the template name

@param string $type
@param string $name

@return string
Returns the template name