Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Drupal\Core\DependencyInjection\Compiler; use Symfony\Component\Dependen..
Decoded Output download
<?php
namespace Drupal\Core\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Registers all lazy route filters onto the lazy route filter.
*/
class RegisterLazyRouteFilters implements CompilerPassInterface {
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container) {
if (!$container->hasDefinition('route_filter.lazy_collector')) {
return;
}
$service_ids = [];
foreach ($container->findTaggedServiceIds('route_filter') as $id => $attributes) {
$service_ids[$id] = $id;
}
$container
->getDefinition('route_filter.lazy_collector')
->addArgument($service_ids);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Registers all lazy route filters onto the lazy route filter.
*/
class RegisterLazyRouteFilters implements CompilerPassInterface {
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container) {
if (!$container->hasDefinition('route_filter.lazy_collector')) {
return;
}
$service_ids = [];
foreach ($container->findTaggedServiceIds('route_filter') as $id => $attributes) {
$service_ids[$id] = $id;
}
$container
->getDefinition('route_filter.lazy_collector')
->addArgument($service_ids);
}
}
Function Calls
None |
Stats
MD5 | c111eb8a851e3ab2ef04e8fccb5becd1 |
Eval Count | 0 |
Decode Time | 84 ms |