private function getMetadata($name)
    {
        $this->ensureExists($name);

        return
            ['url' => $this->templates[$name]['url']]
            + $this->templates[$name]['metadata'];
    }
private function getMetadata($name)
    {
        $this->ensureExists($name);

        return
            ['url' => $this->templates[$name]['url']]
            + $this->templates[$name]['metadata'];
    }
private function getMetadata ( $ name ) { $ this -> ensureExists ( $ name ) ; return [ 'url' => $ this -> templates [ $ name ] [ 'url' ] ] + $ this -> templates [ $ name ] [ 'metadata' ] ; }
Get template metadata array.

@param string $name template name

@return string
Get template metadata array .