for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the bugloos/error-response-bundle project.
* (c) Bugloos <https://bugloos.com/>
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bugloos\ErrorResponseBundle;
use Bugloos\ErrorResponseBundle\DependencyInjection\ErrorResponseExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
* @author Mojtaba Gheytasi <[email protected]>
class ErrorResponseBundle extends Bundle
{
* {@inheritdoc}
public function getContainerExtension(): ?ExtensionInterface
if (null === $this->extension) {
$this->extension = new ErrorResponseExtension();
}
return $this->extension;