Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Twig /
Delete
Unzip
Name
Size
Permission
Date
Action
Cache
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Error
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Extension
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Loader
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Node
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
NodeVisitor
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Profiler
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
RuntimeLoader
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Sandbox
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Test
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
TokenParser
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Util
[ DIR ]
drwxr-xr-x
2026-06-04 06:42
Compiler.php
5.45
KB
-rw-r--r--
2026-06-02 03:22
Environment.php
24.33
KB
-rw-r--r--
2023-02-08 07:49
ExpressionParser.php
32.31
KB
-rw-r--r--
2023-02-08 07:49
ExtensionSet.php
13.07
KB
-rw-r--r--
2023-02-08 07:49
FileExtensionEscapingStrategy.php
1.41
KB
-rw-r--r--
2023-02-08 07:49
Lexer.php
19
KB
-rw-r--r--
2023-02-08 07:49
Markup.php
939
B
-rw-r--r--
2023-02-08 07:49
NodeTraverser.php
1.78
KB
-rw-r--r--
2023-02-08 07:49
Parser.php
11
KB
-rw-r--r--
2023-02-08 07:49
Source.php
1023
B
-rw-r--r--
2023-02-08 07:49
Template.php
12.52
KB
-rw-r--r--
2023-02-08 07:49
TemplateWrapper.php
2.63
KB
-rw-r--r--
2023-02-08 07:49
Token.php
5.17
KB
-rw-r--r--
2023-02-08 07:49
TokenStream.php
3.45
KB
-rw-r--r--
2023-02-08 07:49
TwigFilter.php
3.05
KB
-rw-r--r--
2023-02-08 07:49
TwigFunction.php
2.79
KB
-rw-r--r--
2023-02-08 07:49
TwigTest.php
2.25
KB
-rw-r--r--
2023-02-08 07:49
autoload.php
16.15
KB
-rw-r--r--
2026-06-02 03:22
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; use Twig\Node\Expression\TestExpression; /** * Represents a template test. * * @author Fabien Potencier <fabien@symfony.com> * * @see https://twig.symfony.com/doc/templates.html#test-operator */ final class TwigTest { private $name; private $callable; private $options; private $arguments = []; /** * @param callable|null $callable A callable implementing the test. If null, you need to overwrite the "node_class" option to customize compilation. */ public function __construct(string $name, $callable = null, array $options = []) { $this->name = $name; $this->callable = $callable; $this->options = array_merge([ 'is_variadic' => false, 'node_class' => TestExpression::class, 'deprecated' => false, 'alternative' => null, 'one_mandatory_argument' => false, ], $options); } public function getName(): string { return $this->name; } /** * Returns the callable to execute for this test. * * @return callable|null */ public function getCallable() { return $this->callable; } public function getNodeClass(): string { return $this->options['node_class']; } public function setArguments(array $arguments): void { $this->arguments = $arguments; } public function getArguments(): array { return $this->arguments; } public function isVariadic(): bool { return (bool) $this->options['is_variadic']; } public function isDeprecated(): bool { return (bool) $this->options['deprecated']; } public function getDeprecatedVersion(): string { return \is_bool($this->options['deprecated']) ? '' : $this->options['deprecated']; } public function getAlternative(): ?string { return $this->options['alternative']; } public function hasOneMandatoryArgument(): bool { return (bool) $this->options['one_mandatory_argument']; } }