__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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\Sandbox;
/**
* Exception thrown when a not allowed class method is used in a template.
*
* @author Kit Burton-Senior <mail@kitbs.com>
*/
final class SecurityNotAllowedMethodError extends SecurityError
{
private $className;
private $methodName;
public function __construct(string $message, string $className, string $methodName)
{
parent::__construct($message);
$this->className = $className;
$this->methodName = $methodName;
}
public function getClassName(): string
{
return $this->className;
}
public function getMethodName()
{
return $this->methodName;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| SecurityError.php | File | 409 B | 0644 |
|
| SecurityNotAllowedFilterError.php | File | 707 B | 0644 |
|
| SecurityNotAllowedFunctionError.php | File | 719 B | 0644 |
|
| SecurityNotAllowedMethodError.php | File | 868 B | 0644 |
|
| SecurityNotAllowedPropertyError.php | File | 884 B | 0644 |
|
| SecurityNotAllowedTagError.php | File | 679 B | 0644 |
|
| SecurityPolicy.php | File | 3.93 KB | 0644 |
|
| SecurityPolicyInterface.php | File | 983 B | 0644 |
|