Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
update config tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyvastis committed Apr 13, 2021
1 parent cc4953b commit 57eb5b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions README.md
Expand Up @@ -52,17 +52,16 @@ class OutboundMessageController extends Controller
```
* add the bundle configuration in your `app/config/config.yml`
```yaml
arsenal:
salesforce_outbound_message:
# WSDL_CACHE_NONE, WSDL_CACHE_DISK, WSDL_CACHE_MEMORY or WSDL_CACHE_BOTH
wsdl_cache: 'WSDL_CACHE_DISK'
# An absolute path to Salesforce object WSDL files
wsdl_directory: '/absolute/path/'
document_paths:
# Map a document using its Salesforce name and your local class
CustomObject__c:
path: 'YourNamespace\Documents\CustomObject'
force_compare: false # if true, incoming object will be compared to existing ones in the database; will continue sync only if not equal
salesforce_outbound_message:
# WSDL_CACHE_NONE, WSDL_CACHE_DISK, WSDL_CACHE_MEMORY or WSDL_CACHE_BOTH
wsdl_cache: 'WSDL_CACHE_DISK'
# An absolute path to Salesforce object WSDL files
wsdl_directory: '/absolute/path/'
document_paths:
# Map a document using its Salesforce name and your local class
CustomObject__c:
path: 'YourNamespace\Documents\CustomObject'
force_compare: false # if true, incoming object will be compared to existing ones in the database; will continue sync only if not equal
```
* Add `DocumentInterface` to the document class you'd like to be tracked by the `OutboundMessageBundle`.
```php
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Expand Up @@ -9,7 +9,7 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder('arsenal_salesforce_outbound_message');
$treeBuilder = new TreeBuilder('salesforce_outbound_message');
$treeBuilder
->getRootNode()
->children()
Expand Down

0 comments on commit 57eb5b3

Please sign in to comment.