public function all(array $params = array())
    {
        $endpoint = '/admin/themes.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Theme::class, $response['themes']);
    }
public function all(array $params = array())
    {
        $endpoint = '/admin/themes.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Theme::class, $response['themes']);
    }
public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/themes.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Theme :: class , $ response [ 'themes' ] ) ; }
Receive a list of all themes

@link   https://help.shopify.com/api/reference/theme#index
@param  array $params
@return Theme[]
Receive a list of all themes