File "SecurityNotAllowedPropertyError.php"
Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php
File size: 529 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Sandbox;
if (!defined('ABSPATH')) exit;
final class SecurityNotAllowedPropertyError extends SecurityError
{
private $className;
private $propertyName;
public function __construct(string $message, string $className, string $propertyName)
{
parent::__construct($message);
$this->className = $className;
$this->propertyName = $propertyName;
}
public function getClassName() : string
{
return $this->className;
}
public function getPropertyName()
{
return $this->propertyName;
}
}