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 Timber\Integration; use Timber\Integration\CLI\TimberCommand; use WP_CLI..

Decoded Output download

<?php

namespace Timber\Integration;

use Timber\Integration\CLI\TimberCommand;
use WP_CLI;

/**
 * Class WpCliIntegration
 *
 * Adds a "timber" command to WP CLI.
 */
class WpCliIntegration implements IntegrationInterface
{
    public function should_init(): bool
    {
        return \defined('WP_CLI') && \class_exists('WP_CLI');
    }

    public function init(): void
    {
        WP_CLI::add_command('timber', TimberCommand::class);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Timber\Integration;

use Timber\Integration\CLI\TimberCommand;
use WP_CLI;

/**
 * Class WpCliIntegration
 *
 * Adds a "timber" command to WP CLI.
 */
class WpCliIntegration implements IntegrationInterface
{
    public function should_init(): bool
    {
        return \defined('WP_CLI') && \class_exists('WP_CLI');
    }

    public function init(): void
    {
        WP_CLI::add_command('timber', TimberCommand::class);
    }
}

Function Calls

None

Variables

None

Stats

MD5 3ca22521e76d9c734c84f766e5f7dfbb
Eval Count 0
Decode Time 89 ms