vendor/nucleos/antispam-bundle/src/NucleosAntiSpamBundle.php line 19

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the NucleosAntiSpamBundle package.
  5.  *
  6.  * (c) Christian Gripp <mail@core23.de>
  7.  *
  8.  * For the full copyright and license information, please view the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace Nucleos\AntiSpamBundle;
  12. use Nucleos\AntiSpamBundle\DependencyInjection\NucleosAntiSpamExtension;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. final class NucleosAntiSpamBundle extends Bundle
  15. {
  16.     public function getContainerExtension()
  17.     {
  18.         if (null === $this->extension) {
  19.             $this->extension = new NucleosAntiSpamExtension();
  20.         }
  21.         return $this->extension;
  22.     }
  23. }