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 declare(strict_types=1); /* * This file is a part of Sculpin. * * (c) Dragonfly..

Decoded Output download

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Event;

use Sculpin\Core\Formatter\FormatContext;

/**
 * @author Beau Simensen <[email protected]>
 */
class FormatEvent extends Event
{
    /**
     * @var FormatContext
     */
    protected $formatContext;

    public function __construct(FormatContext $formatContext)
    {
        $this->formatContext = $formatContext;
    }

    public function formatContext(): FormatContext
    {
        return $this->formatContext;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Event;

use Sculpin\Core\Formatter\FormatContext;

/**
 * @author Beau Simensen <[email protected]>
 */
class FormatEvent extends Event
{
    /**
     * @var FormatContext
     */
    protected $formatContext;

    public function __construct(FormatContext $formatContext)
    {
        $this->formatContext = $formatContext;
    }

    public function formatContext(): FormatContext
    {
        return $this->formatContext;
    }
}

Function Calls

None

Variables

None

Stats

MD5 1563cbb57a50d545bda3328132d0954b
Eval Count 0
Decode Time 90 ms