public function listTemplates( $templateType = null ){
        $queryParams = is_null( $templateType ) ? [] : [ 'type' => $templateType ];
        return $this->httpGet( self::PATH_TEMPLATE_LIST, $queryParams );
    }
public function listTemplates( $templateType = null ){
        $queryParams = is_null( $templateType ) ? [] : [ 'type' => $templateType ];
        return $this->httpGet( self::PATH_TEMPLATE_LIST, $queryParams );
    }
public function listTemplates ( $ templateType = null ) { $ queryParams = is_null ( $ templateType ) ? [ ] : [ 'type' => $ templateType ] ; return $ this -> httpGet ( self :: PATH_TEMPLATE_LIST , $ queryParams ) ; }
Get all templates

Can pass in template_type to filter templates.

@param string  $template_type

@return array
Get all templates