PHP code example of symbid / chainlink-bundle
1. Go to this page and download the library: Download symbid/chainlink-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/ */
symbid / chainlink-bundle example snippets
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new DMS\Chainlink\Bundle\DMSChainlinkBundle(),
);
}
$this->container->get('dms_chainlink.context.my_new_context')->handle($input);
//or its also aliased at
$this->container->get('my_new_context')->handle($input);