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 Grav\Common\Service * * @copyright Copyright (c) 2015 - 2024 ..

Decoded Output download

<?php

/**
 * @package    Grav\Common\Service
 *
 * @copyright  Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
 * @license    MIT License; see LICENSE file for details.
 */

namespace Grav\Common\Service;

use Grav\Common\Inflector;
use Pimple\Container;
use Pimple\ServiceProviderInterface;

/**
 * Class InflectorServiceProvider
 * @package Grav\Common\Service
 */
class InflectorServiceProvider implements ServiceProviderInterface
{
    /**
     * @param Container $container
     * @return void
     */
    public function register(Container $container)
    {
        $container['inflector'] = function () {
            return new Inflector();
        };
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * @package    Grav\Common\Service
 *
 * @copyright  Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
 * @license    MIT License; see LICENSE file for details.
 */

namespace Grav\Common\Service;

use Grav\Common\Inflector;
use Pimple\Container;
use Pimple\ServiceProviderInterface;

/**
 * Class InflectorServiceProvider
 * @package Grav\Common\Service
 */
class InflectorServiceProvider implements ServiceProviderInterface
{
    /**
     * @param Container $container
     * @return void
     */
    public function register(Container $container)
    {
        $container['inflector'] = function () {
            return new Inflector();
        };
    }
}

Function Calls

None

Variables

None

Stats

MD5 4308b94c1191b2c23f7a4ca83914998a
Eval Count 0
Decode Time 121 ms