Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.52
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
phpMyAdmin /
vendor /
twig /
twig /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Cache
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Error
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Extension
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Loader
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Node
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
NodeVisitor
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Profiler
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
RuntimeLoader
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Sandbox
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
TokenParser
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Util
[ DIR ]
drwxrwxrwx
2024-07-26 17:41
Compiler.php
4.94
KB
-rw-rw-rw-
2023-02-07 22:26
Environment.php
24.33
KB
-rw-rw-rw-
2023-02-07 22:26
ExpressionParser.php
32.31
KB
-rw-rw-rw-
2023-02-07 22:26
ExtensionSet.php
13.07
KB
-rw-rw-rw-
2023-02-07 22:26
FileExtensionEscapingStrategy.php
1.41
KB
-rw-rw-rw-
2023-02-07 22:26
Lexer.php
19
KB
-rw-rw-rw-
2023-02-07 22:26
Markup.php
939
B
-rw-rw-rw-
2023-02-07 22:26
NodeTraverser.php
1.78
KB
-rw-rw-rw-
2023-02-07 22:26
Parser.php
11
KB
-rw-rw-rw-
2023-02-07 22:26
Source.php
1023
B
-rw-rw-rw-
2023-02-07 22:26
Template.php
12.52
KB
-rw-rw-rw-
2023-02-07 22:26
TemplateWrapper.php
2.63
KB
-rw-rw-rw-
2023-02-07 22:26
Token.php
5.17
KB
-rw-rw-rw-
2023-02-07 22:26
TokenStream.php
3.45
KB
-rw-rw-rw-
2023-02-07 22:26
TwigFilter.php
3.05
KB
-rw-rw-rw-
2023-02-07 22:26
TwigFunction.php
2.79
KB
-rw-rw-rw-
2023-02-07 22:26
TwigTest.php
2.25
KB
-rw-rw-rw-
2023-02-07 22:26
Save
Rename
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig; /** * Exposes a template to userland. * * @author Fabien Potencier <fabien@symfony.com> */ final class TemplateWrapper { private $env; private $template; /** * This method is for internal use only and should never be called * directly (use Twig\Environment::load() instead). * * @internal */ public function __construct(Environment $env, Template $template) { $this->env = $env; $this->template = $template; } public function render(array $context = []): string { // using func_get_args() allows to not expose the blocks argument // as it should only be used by internal code return $this->template->render($context, \func_get_args()[1] ?? []); } public function display(array $context = []) { // using func_get_args() allows to not expose the blocks argument // as it should only be used by internal code $this->template->display($context, \func_get_args()[1] ?? []); } public function hasBlock(string $name, array $context = []): bool { return $this->template->hasBlock($name, $context); } /** * @return string[] An array of defined template block names */ public function getBlockNames(array $context = []): array { return $this->template->getBlockNames($context); } public function renderBlock(string $name, array $context = []): string { $context = $this->env->mergeGlobals($context); $level = ob_get_level(); if ($this->env->isDebug()) { ob_start(); } else { ob_start(function () { return ''; }); } try { $this->template->displayBlock($name, $context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } throw $e; } return ob_get_clean(); } public function displayBlock(string $name, array $context = []) { $this->template->displayBlock($name, $this->env->mergeGlobals($context)); } public function getSourceContext(): Source { return $this->template->getSourceContext(); } public function getTemplateName(): string { return $this->template->getTemplateName(); } /** * @internal * * @return Template */ public function unwrap() { return $this->template; } }