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 /* * This file is part of Flarum. * * For detailed copyright and license informa..

Decoded Output download

<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

namespace Flarum\ExtensionManager\Exception;

use Exception;
use Flarum\Extension\Extension;
use Flarum\Foundation\KnownError;

class ExtensionAlreadyInstalledException extends Exception implements KnownError
{
    public function __construct(Extension $extension)
    {
        parent::__construct("Extension {$extension->getTitle()} is already installed.");
    }

    public function getType(): string
    {
        return 'extension_already_installed';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

namespace Flarum\ExtensionManager\Exception;

use Exception;
use Flarum\Extension\Extension;
use Flarum\Foundation\KnownError;

class ExtensionAlreadyInstalledException extends Exception implements KnownError
{
    public function __construct(Extension $extension)
    {
        parent::__construct("Extension {$extension->getTitle()} is already installed.");
    }

    public function getType(): string
    {
        return 'extension_already_installed';
    }
}

Function Calls

None

Variables

None

Stats

MD5 df6418c518a683454c134d4856fa2db6
Eval Count 0
Decode Time 88 ms