vendor/symfonycasts/reset-password-bundle/src/SymfonyCastsResetPasswordBundle.php line 20
<?php
/*
* This file is part of the SymfonyCasts ResetPasswordBundle package.
* Copyright (c) SymfonyCasts <https://symfonycasts.com/>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SymfonyCasts\Bundle\ResetPassword;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use SymfonyCasts\Bundle\ResetPassword\DependencyInjection\SymfonyCastsResetPasswordExtension;
/**
* @author Jesse Rushlow <[email protected]>
* @author Ryan Weaver <[email protected]>
*/
class SymfonyCastsResetPasswordBundle extends Bundle
{
public function getContainerExtension(): ?ExtensionInterface
{
if (null === $this->extension) {
$this->extension = new SymfonyCastsResetPasswordExtension();
}
return $this->extension ?: null;
}
}