SecurityNotAllowedFunctionError.php in Translation template extractor 7.3
File
vendor/Twig/Sandbox/SecurityNotAllowedFunctionError.php
View source
<?php
class Twig_Sandbox_SecurityNotAllowedFunctionError extends Twig_Sandbox_SecurityError {
private $functionName;
public function __construct($message, $functionName, $lineno = -1, $filename = null, Exception $previous = null) {
parent::__construct($message, $lineno, $filename, $previous);
$this->functionName = $functionName;
}
public function getFunctionName() {
return $this->functionName;
}
}