DnslBundle
Usage Example
$this->getContainer()->get('dnsbl');
Installation
Install via Composer
Add the following lines to your composer.json
file and then run php composer.phar install
or php composer.phar update
:
{
"require": {
"webeith/dnsbl-bundle": "dev-master"
}
}
Register the bundle
To start using the bundle, register it in app/AppKernel.php
:
public function registerBundles()
{
$bundles = array(
// Other bundles...
new Webeith\DnsblBundle\WebeithDnsblBundle(),
);
}