File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php
Back
<?php declare (strict_types=1); namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Contract\Rector\RectorInterface; use RectorPrefix202208\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use RectorPrefix202208\Symfony\Component\DependencyInjection\ContainerBuilder; final class MakeRectorsPublicCompilerPass implements CompilerPassInterface { public function process(ContainerBuilder $containerBuilder) : void { foreach ($containerBuilder->getDefinitions() as $definition) { if ($definition->getClass() === null) { continue; } if (!\is_a($definition->getClass(), RectorInterface::class, \true)) { continue; } $definition->setPublic(\true); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings