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 the Zephir. * * (c) Phalcon Team <[email protected]..

Decoded Output download

<?php

/**
 * This file is part of the Zephir.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Zephir\Documentation\File;

use Zephir\Documentation\FileInterface;
use Zephir\Documentation\NamespaceAccessor;

class IndexFile implements FileInterface
{
    public function __construct(protected NamespaceAccessor $namespaceAccessor)
    {
    }

    public function getData(): array
    {
        return [
            'namespaceAccessor' => $this->namespaceAccessor,
            'namespacesTree'    => $this->namespaceAccessor->getNamespaceTree(),
            'namespaces'        => $this->namespaceAccessor->getByNamespace(),
        ];
    }

    public function getOutputFile(): string
    {
        return 'index.html';
    }

    public function getTemplateName(): string
    {
        return 'index.phtml';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * This file is part of the Zephir.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Zephir\Documentation\File;

use Zephir\Documentation\FileInterface;
use Zephir\Documentation\NamespaceAccessor;

class IndexFile implements FileInterface
{
    public function __construct(protected NamespaceAccessor $namespaceAccessor)
    {
    }

    public function getData(): array
    {
        return [
            'namespaceAccessor' => $this->namespaceAccessor,
            'namespacesTree'    => $this->namespaceAccessor->getNamespaceTree(),
            'namespaces'        => $this->namespaceAccessor->getByNamespace(),
        ];
    }

    public function getOutputFile(): string
    {
        return 'index.html';
    }

    public function getTemplateName(): string
    {
        return 'index.phtml';
    }
}

Function Calls

None

Variables

None

Stats

MD5 1cd7dc177f551fc9bb8bc5bdd8cd8895
Eval Count 0
Decode Time 94 ms