PHP code example of phpro / soap-client-sf2-bridge
1. Go to this page and download the library: Download phpro/soap-client-sf2-bridge library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
phpro / soap-client-sf2-bridge example snippets
// AppKernel.php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
$bundles[] = new Phpro\SoapClient\BridgeBundle\PhproSoapClientBridgeBundle();
}
$clientBuilder->withEventDispatcher($dispatcher);