vendor/symfonycasts/verify-email-bundle/src/SymfonyCastsVerifyEmailBundle.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the SymfonyCasts VerifyEmailBundle package.
  4.  * Copyright (c) SymfonyCasts <https://symfonycasts.com/>
  5.  * For the full copyright and license information, please view the LICENSE
  6.  * file that was distributed with this source code.
  7.  */
  8. namespace SymfonyCasts\Bundle\VerifyEmail;
  9. use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. use SymfonyCasts\Bundle\VerifyEmail\DependencyInjection\SymfonyCastsVerifyEmailExtension;
  12. /**
  13.  * @author Jesse Rushlow <[email protected]>
  14.  * @author Ryan Weaver   <[email protected]>
  15.  */
  16. class SymfonyCastsVerifyEmailBundle extends Bundle
  17. {
  18.     public function getContainerExtension(): ?ExtensionInterface
  19.     {
  20.         if (null === $this->extension) {
  21.             $this->extension = new SymfonyCastsVerifyEmailExtension();
  22.         }
  23.         return $this->extension;
  24.     }
  25. }