src/DeviceCollection.php
protected function path() {
    if ($this->parent) {
      return $this->parent->path() . '/devices';
    }

    $class = static::$resourceClass;
    $path = $class::$path;
    if ($this->catalog) {
      $path .= '/catalog';
    }
    return $path;
  }
protected function path() {
    if ($this->parent) {
      return $this->parent->path() . '/devices';
    }

    $class = static::$resourceClass;
    $path = $class::$path;
    if ($this->catalog) {
      $path .= '/catalog';
    }
    return $path;
  }
protected function path ( ) { if ( $ this -> parent ) { return $ this -> parent -> path ( ) . '/devices' ; } $ class = static :: $ resourceClass ; $ path = $ class :: $ path ; if ( $ this -> catalog ) { $ path .= '/catalog' ; } return $ path ; }
Return the API path for the query

@return void
Return the API path for the query