public function RestClientInterface::getVersions in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getVersions()
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getVersions()
Wrapper for "Versions" resource to list information about API releases.
Parameters
bool $reset: Whether to reset cache.
Return value
array Array of all available Salesforce versions, or empty array if version info is not available.
Throws
\GuzzleHttp\Exception\RequestException
1 method overrides RestClientInterface::getVersions()
- RestClient::getVersions in src/
Rest/ RestClient.php - Wrapper for "Versions" resource to list information about API releases.
File
- src/
Rest/ RestClientInterface.php, line 134
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function getVersions($reset = FALSE);