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 Barryvdh\Debugbar\Twig\Extension; use DebugBar\Bridge\Twig\DebugTwigExte..

Decoded Output download

<?php

namespace Barryvdh\Debugbar\Twig\Extension;

use DebugBar\Bridge\Twig\DebugTwigExtension;
use Illuminate\Foundation\Application;
use Twig\Environment;

/**
 * Access debugbar debug in your Twig templates.
 */
class Debug extends DebugTwigExtension
{
    protected $app;

    /**
     * Create a new debug extension.
     *
     * @param \Illuminate\Foundation\Application $app
     */
    public function __construct(Application $app)
    {
        $this->app = $app;
        parent::__construct(null);
    }

    public function debug(Environment $env, $context)
    {
        if ($this->app->bound('debugbar') && $this->app['debugbar']->hasCollector('messages')) {
            $this->messagesCollector = $this->app['debugbar']['messages'];
        }

        return parent::debug($env, $context);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Barryvdh\Debugbar\Twig\Extension;

use DebugBar\Bridge\Twig\DebugTwigExtension;
use Illuminate\Foundation\Application;
use Twig\Environment;

/**
 * Access debugbar debug in your Twig templates.
 */
class Debug extends DebugTwigExtension
{
    protected $app;

    /**
     * Create a new debug extension.
     *
     * @param \Illuminate\Foundation\Application $app
     */
    public function __construct(Application $app)
    {
        $this->app = $app;
        parent::__construct(null);
    }

    public function debug(Environment $env, $context)
    {
        if ($this->app->bound('debugbar') && $this->app['debugbar']->hasCollector('messages')) {
            $this->messagesCollector = $this->app['debugbar']['messages'];
        }

        return parent::debug($env, $context);
    }
}

Function Calls

None

Variables

None

Stats

MD5 6b7f10eddeca2e1de857b94dc995e1e1
Eval Count 0
Decode Time 109 ms