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?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 6b7f10eddeca2e1d |
|---|---|
| Eval Count | 0 |
| Decode Time | 109 ms |
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);
}
}