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 use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony..
Decoded Output download
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\LogicException;
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class ProjectServiceContainer extends Container
{
protected $parameters = [];
protected \Closure $getService;
public function __construct()
{
$this->services = $this->privates = [];
$this->methodMap = [
'bar' => 'getBarService',
'baz' => 'getBazService',
];
$this->aliases = [];
}
public function compile(): void
{
throw new LogicException('You cannot compile a dumped container that was already compiled.');
}
public function isCompiled(): bool
{
return true;
}
public function getRemovedIds(): array
{
return [
'foo' => true,
];
}
/**
* Gets the public 'bar' shared service.
*
* @return \stdClass
*/
protected static function getBarService($container)
{
return $container->services['bar'] = new \stdClass((new \stdClass()), (new \stdClass()));
}
/**
* Gets the public 'baz' shared service.
*
* @return \stdClass
*/
protected static function getBazService($container)
{
return $container->services['baz'] = new \stdClass(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'foo' => [false, 'foo', 'getFooService', false],
], [
'foo' => '?',
]));
}
/**
* Gets the private 'foo' service.
*
* @return \stdClass
*/
protected static function getFooService($container)
{
$container->factories['service_container']['foo'] = function ($container) {
return new \stdClass();
};
return $container->factories['service_container']['foo']($container);
}
}
?>
Did this file decode correctly?
Original Code
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\LogicException;
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class ProjectServiceContainer extends Container
{
protected $parameters = [];
protected \Closure $getService;
public function __construct()
{
$this->services = $this->privates = [];
$this->methodMap = [
'bar' => 'getBarService',
'baz' => 'getBazService',
];
$this->aliases = [];
}
public function compile(): void
{
throw new LogicException('You cannot compile a dumped container that was already compiled.');
}
public function isCompiled(): bool
{
return true;
}
public function getRemovedIds(): array
{
return [
'foo' => true,
];
}
/**
* Gets the public 'bar' shared service.
*
* @return \stdClass
*/
protected static function getBarService($container)
{
return $container->services['bar'] = new \stdClass((new \stdClass()), (new \stdClass()));
}
/**
* Gets the public 'baz' shared service.
*
* @return \stdClass
*/
protected static function getBazService($container)
{
return $container->services['baz'] = new \stdClass(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'foo' => [false, 'foo', 'getFooService', false],
], [
'foo' => '?',
]));
}
/**
* Gets the private 'foo' service.
*
* @return \stdClass
*/
protected static function getFooService($container)
{
$container->factories['service_container']['foo'] = function ($container) {
return new \stdClass();
};
return $container->factories['service_container']['foo']($container);
}
}
Function Calls
None |
Stats
MD5 | f523af76f5e7a48a8bc5e171daf52430 |
Eval Count | 0 |
Decode Time | 73 ms |