for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Crunch\Salesforce;
class ClientConfig implements ClientConfigInterface
{
/**
* @var
*/
private $loginUrl;
private $clientId;
private $clientSecret;
* @var string
private $version;
public function __construct($loginUrl, $clientId, $clientSecret, $version = "v37.0")
$this->loginUrl = $loginUrl;
$this->clientId = $clientId;
$this->clientSecret = $clientSecret;
$this->version = $version;
}
* @return string
public function getLoginUrl()
return $this->loginUrl;
public function getClientId()
return $this->clientId;
public function getClientSecret()
return $this->clientSecret;
* Getter for version
*
public function getVersion()
return $this->version;