original_string: public function all(array $params = array())
      {
          $endpoint = '/admin/locations.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createCollection(Location::class, $response['locations']);
      }
code: public function all(array $params = array())
      {
          $endpoint = '/admin/locations.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createCollection(Location::class, $response['locations']);
      }
code_tokens: public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/locations.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Location :: class , $ response [ 'locations' ] ) ; }
docstring: Get all locations
  
  @link   https://help.shopify.com/api/reference/location#index
  @param  array $params
  @return Location[]
docstring_tokens: Get all locations