I\'m trying to load custom config but getting exception:
1/2 InvalidArgumentException in YamlFileLoader.php
There is no extension able to load the
You have to manually register extension class, how to do it is described here http://symfony.com/doc/current/cookbook/bundles/extension.html#manually-registering-an-extension-class
Something like this:
//.....
class CwiczeniaDependencyInjectionBundle extends Bundle
{
public function getContainerExtension()
{
if (null === $this->extension) {
$this->extension = new CwiczeniaExtension();
}
return $this->extension;
}
}