Controller/TemplatesController.php
public function retrieveImageTemplate($id, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/templates/images/' . $id . '', $parameters, $cachePolicy);
        $result = new ImageTemplate($result);

        return $result;
    }
public function retrieveImageTemplate($id, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/templates/images/' . $id . '', $parameters, $cachePolicy);
        $result = new ImageTemplate($result);

        return $result;
    }
public function retrieveImageTemplate ( $ id , CachePolicy $ cachePolicy = null ) { $ parameters = [ 'query' => [ ] , 'body' => json_encode ( [ ] , JSON_UNESCAPED_UNICODE ) , 'headers' => [ ] , ] ; $ result = $ this -> get ( 'v1/templates/images/' . $ id . '' , $ parameters , $ cachePolicy ) ; $ result = new ImageTemplate ( $ result ) ; return $ result ; }
Fetches a specific Image Template.

Fetches a Image Template by the specified identifier.

@param int         $id          the Image Template identifier
@param CachePolicy $cachePolicy a custom cache policy used for this request only

@return ImageTemplate
Fetches a specific Image Template .