X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/symfony/http-kernel/DependencyInjection
home
/
prisjneg
/
public_html
/
vendor
/
symfony
/
http-kernel
/
DependencyInjection
/
π
..
π
AddAnnotatedClassesToCachePass.php
(4.12 KB)
π
ConfigurableExtension.php
(1.25 KB)
π
ControllerArgumentValueResolverPass.php
(3.02 KB)
π
Extension.php
(1.07 KB)
π
FragmentRendererPass.php
(2.06 KB)
π
LazyLoadingFragmentHandler.php
(1.43 KB)
π
LoggerPass.php
(1.49 KB)
π
MergeExtensionConfigurationPass.php
(1.16 KB)
π
RegisterControllerArgumentLocatorsPass.php
(11.66 KB)
π
RegisterLocaleAwareServicesPass.php
(1.39 KB)
π
RemoveEmptyControllerArgumentLocatorsPass.php
(2.58 KB)
π
ResettableServicePass.php
(2.12 KB)
π
ServicesResetter.php
(1.72 KB)
Editing: LoggerPass.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\DependencyInjection; use Psr\Log\LoggerInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpKernel\Log\Logger; /** * Registers the default logger if necessary. * * @author KΓ©vin Dunglas <dunglas@gmail.com> */ class LoggerPass implements CompilerPassInterface { /** * @return void */ public function process(ContainerBuilder $container) { if (!$container->has(LoggerInterface::class)) { $container->setAlias(LoggerInterface::class, 'logger'); } if ($container->has('logger')) { return; } if ($debug = $container->getParameter('kernel.debug')) { $debug = $container->hasParameter('kernel.runtime_mode.web') ? $container->getParameter('kernel.runtime_mode.web') : !\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true); } $container->register('logger', Logger::class) ->setArguments([null, null, null, new Reference(RequestStack::class), $debug]); } }
Upload File
Create Folder