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 /** * @package Prism * @subpackage Extensions * @author Todor Iliev ..
Decoded Output download
<?php
/**
* @package Prism
* @subpackage Extensions
* @author Todor Iliev
* @copyright Copyright (C) 2017 Todor Iliev <[email protected]>. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
namespace Prism;
/**
* This class provides DI container everywhere where we need it, especially in ITPrism's extensions.
* NOTE: It will be removed when Joomla! PLT implements DI containers in the CMS.
*
* @package Prism
* @subpackage Containers
*/
abstract class Container
{
private static $container;
/**
* Return DI Container.
*
* <code>
* $container = Prism\Container::getContainer();
* </code>
*
* @return \Joomla\DI\Container
*/
public static function getContainer()
{
if (self::$container === null) {
self::$container = new \Joomla\DI\Container();
}
return self::$container;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* @package Prism
* @subpackage Extensions
* @author Todor Iliev
* @copyright Copyright (C) 2017 Todor Iliev <[email protected]>. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
namespace Prism;
/**
* This class provides DI container everywhere where we need it, especially in ITPrism's extensions.
* NOTE: It will be removed when Joomla! PLT implements DI containers in the CMS.
*
* @package Prism
* @subpackage Containers
*/
abstract class Container
{
private static $container;
/**
* Return DI Container.
*
* <code>
* $container = Prism\Container::getContainer();
* </code>
*
* @return \Joomla\DI\Container
*/
public static function getContainer()
{
if (self::$container === null) {
self::$container = new \Joomla\DI\Container();
}
return self::$container;
}
}
Function Calls
None |
Stats
MD5 | f84138767d13166405c203e8d0474e19 |
Eval Count | 0 |
Decode Time | 123 ms |