PHP code example of ojezu / add-call-to-remote-service-bundle
1. Go to this page and download the library: Download ojezu/add-call-to-remote-service-bundle 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/ */
ojezu / add-call-to-remote-service-bundle example snippets
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new OJezu\ConfigurableDiscriminationBundle\AddCallToRemoteServiceBundle(),
// app bundles
new Acme\TestBundle\ParentBundle(),
new Acme\TestBundle\ChildABundle(),
new Acme\TestBundle\ChildBBundle(),
);
return $bundles;
}
}