File "SecurityNotAllowedMethodError.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php
File size: 515 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Sandbox;
if (!defined('ABSPATH')) exit;
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;
}
}