forked from ddeboer/DdeboerSalesforceMapperBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated config and paramconverter to work with symfony 4
- Loading branch information
Dirk Scholten
committed
Jul 16, 2018
1 parent
b82f5d3
commit 04de3ef
Showing
3 changed files
with
40 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
services: | ||
# default configuration for services in *this* file | ||
_defaults: | ||
autowire: true # Automatically injects dependencies in your services. | ||
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. | ||
public: false # Allows optimizing the container by removing unused services; this also means | ||
# fetching services directly from the container via $container->get() won't work. | ||
# The best practice is to be explicit about your dependencies anyway. | ||
|
||
LogicItLab\Salesforce\MapperBundle\: | ||
resource: '../../*' | ||
exclude: '../../{Tests}' | ||
|
||
LogicItLab\Salesforce\MapperBundle\Mapper: | ||
arguments: | ||
- '@phpforce.soap_client' | ||
- '@LogicItLab\Salesforce\MapperBundle\Annotation\AnnotationReader' | ||
- '@LogicItLab\Salesforce\MapperBundle\Cache\FileCache' | ||
|
||
LogicItLab\Salesforce\MapperBundle\Cache\FileCache: | ||
arguments: | ||
- '%kernel.cache_dir%/salesforce' | ||
|
||
LogicItLab\Salesforce\MapperBundle\Annotation\AnnotationReader: | ||
arguments: | ||
- '@annotation_reader' | ||
|
||
LogicItLab\Salesforce\MapperBundle\MappedBulkSaver: | ||
arguments: | ||
- '@phpforce.soap_client.bulk_saver' | ||
- '@LogicItLab\Salesforce\MapperBundle\Mapper' | ||
- '@LogicItLab\Salesforce\MapperBundle\Annotation\AnnotationReader' |