PHP 8.2.31
Preview: TwigTest.php Size: 1.42 KB
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/TwigTest.php

<?php
namespace MailPoetVendor\Twig;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Node\Expression\TestExpression;
final class TwigTest
{
 private $name;
 private $callable;
 private $options;
 private $arguments = [];
 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;
 }
 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'];
 }
}

Directory Contents

Dirs: 11 × Files: 18

Name Size Perms Modified Actions
Cache DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Error DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Extension DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Loader DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Node DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Profiler DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Sandbox DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
Util DIR
- drwxr-xr-x 2023-04-04 05:35:39
Edit Download
3.09 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
12.59 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
23.03 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
9.59 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
522 B lrw-r--r-- 2023-04-04 05:35:39
Edit Download
0 B lrw-r--r-- 2023-04-04 05:35:39
Edit Download
14.03 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
542 B lrw-r--r-- 2023-04-04 05:35:39
Edit Download
1.10 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
8.64 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
476 B lrw-r--r-- 2023-04-04 05:35:39
Edit Download
6.88 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
1.76 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
3.34 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
2.18 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
2.07 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
1.86 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download
1.42 KB lrw-r--r-- 2023-04-04 05:35:39
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).