waarneembemiddeling / bigregister-bundle
Symfony2 bundle intergrating the Dutch BIG-Register SOAP client
Installs: 8 742
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 1
Open Issues: 0
Requires
README
This bundle integrates the BIG-register SOAP client.
Configuration
There is no configration required by default.
Change the WSDL
If you want to override the WSDL:
wb_big_register:
wsdl: http://comapny.tld/soap?wsdl
Use DoctrineCacheBundle or LiipDoctrineCacheBundle
You can easily pass in a Cache instance:
wb_big_register:
cache:
service_id: liip_doctrine_cache.ns.your_cache_id
ttl: 86400
Overriding native SoapClient constructor configuration options
In case you want to tweak the behaviour of the native SoapClient, you override the $options array like this:
parameters:
wb_big_register.client.user_params: {'trace': true}
Usage
To get the service from the container:
$service = $container->get('wb_big_register.service');
To get the client:
$service = $container->get('wb_big_register.client');
For more examples checkout the client documentation.