Skip to content

Commit

Permalink
Bundle: Hide error regarding the extension name mismatch (closes #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Jun 5, 2017
1 parent aea04ef commit 56d0a02
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/KdybyDateTimeProviderBundle.php
Expand Up @@ -12,9 +12,20 @@

namespace Kdyby\DateTimeProviderBundle;

use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

class KdybyDateTimeProviderBundle extends \Symfony\Component\HttpKernel\Bundle\Bundle
{

use \Kdyby\StrictObjects\Scream;

public function getContainerExtension(): ExtensionInterface
{
if ($this->extension === NULL) {
$this->extension = $this->createContainerExtension();
}

return $this->extension;
}

}

0 comments on commit 56d0a02

Please sign in to comment.