src/Sulu/Component/Webspace/Webspace.php
public function getTemplate($type, $format = 'html')
    {
        if (array_key_exists($type, $this->templates)) {
            return $this->templates[$type] . '.' . $format . '.twig';
        }

        return;
    }
public function getTemplate($type, $format = 'html')
    {
        if (array_key_exists($type, $this->templates)) {
            return $this->templates[$type] . '.' . $format . '.twig';
        }

        return;
    }
public function getTemplate ( $ type , $ format = 'html' ) { if ( array_key_exists ( $ type , $ this -> templates ) ) { return $ this -> templates [ $ type ] . '.' . $ format . '.twig' ; } return ; }
Returns a template for the given type.

@param string $type
@param string $format

@return string|null
Returns a template for the given type .