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 Pagekit\Intl\Loader; use Symfony\Component\Translation\Loader\LoaderInte..

Decoded Output download

<?php

namespace Pagekit\Intl\Loader;

use Symfony\Component\Translation\Loader\LoaderInterface;
use Symfony\Component\Translation\MessageCatalogue;

/**
 * ArrayLoader loads translations from a PHP array.
 *
 * @copyright Copyright (c) 2004-2014 Fabien Potencier
 */
class ArrayLoader implements LoaderInterface
{
    /**
     * {@inheritdoc}
     */
    public function load($resource, $locale, $domain = 'messages')
    {
        $catalogue = new MessageCatalogue($locale);
        $catalogue->add($resource, $domain);

        return $catalogue;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Intl\Loader;

use Symfony\Component\Translation\Loader\LoaderInterface;
use Symfony\Component\Translation\MessageCatalogue;

/**
 * ArrayLoader loads translations from a PHP array.
 *
 * @copyright Copyright (c) 2004-2014 Fabien Potencier
 */
class ArrayLoader implements LoaderInterface
{
    /**
     * {@inheritdoc}
     */
    public function load($resource, $locale, $domain = 'messages')
    {
        $catalogue = new MessageCatalogue($locale);
        $catalogue->add($resource, $domain);

        return $catalogue;
    }
}

Function Calls

None

Variables

None

Stats

MD5 1cb841c52d0215824fda195ce7e68ff9
Eval Count 0
Decode Time 68 ms