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 Liip\UrlAutoConverterBundle\DependencyInjection; use Symfony\Component\D..
Decoded Output download
<?php
namespace Liip\UrlAutoConverterBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
class LiipUrlAutoConverterExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('urlautoconverter.xml');
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
foreach ($config as $key => $value) {
$container->setParameter(sprintf('liip_url_auto_converter.%s', $key), $value);
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Liip\UrlAutoConverterBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
class LiipUrlAutoConverterExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('urlautoconverter.xml');
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
foreach ($config as $key => $value) {
$container->setParameter(sprintf('liip_url_auto_converter.%s', $key), $value);
}
}
}
Function Calls
None |
Stats
MD5 | 59cd82d00ba68f5b90edeb3b3dd46baa |
Eval Count | 0 |
Decode Time | 88 ms |