-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed-by: Alexandre Eher <[email protected]> Signed-off-by: Jefersson Nathan <[email protected]>
- Loading branch information
Showing
8 changed files
with
66 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,12 +30,13 @@ the right `driverClass`. The usual `user` and `password` are also required. | |
$config = new Configuration(); | ||
$connectionParams = [ | ||
'salesforceInstance' => 'https://[SALESFORCE INSTANCE].salesforce.com', | ||
'user' => '[email protected]', | ||
'password' => 'salesforce-password', | ||
'consumerKey' => '...', | ||
'consumerSecret' => '...', | ||
'driverClass' => \Codelicia\Soql\SoqlDriver::class, | ||
'wrapperClass' => \Codelicia\Soql\ConnectionWrapper::class, | ||
'apiVersion' => 'v43.0', | ||
'user' => '[email protected]', | ||
'password' => 'salesforce-password', | ||
'consumerKey' => '...', | ||
'consumerSecret' => '...', | ||
'driverClass' => \Codelicia\Soql\SoqlDriver::class, | ||
'wrapperClass' => \Codelicia\Soql\ConnectionWrapper::class, | ||
]; | ||
|
||
/** @var \Codelicia\Soql\ConnectionWrapper $conn */ | ||
|
@@ -46,6 +47,7 @@ $conn = DriverManager::getConnection($connectionParams, $config); | |
instance. | ||
* `password` provides the corresponding password to the email provided on `user`. | ||
* `salesforceInstance` points to the url of the Salesforce instance. | ||
* `apiVersion` specify a salesforce API version to work with. | ||
* `consumerKey` provides the integration consumer key | ||
* `consumerSecret` provides the integration consumer secret | ||
* `driverClass` should points to `\Codelicia\Soql\SoqlDriver::class` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters