[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of Twig. 5 * 6 * (c) Fabien Potencier 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Twig\Sandbox; 13 14 /** 15 * Exception thrown when a not allowed class property is used in a template. 16 * 17 * @author Kit Burton-Senior <mail@kitbs.com> 18 */ 19 class SecurityNotAllowedPropertyError extends SecurityError 20 { 21 private $className; 22 private $propertyName; 23 24 public function __construct($message, $className, $propertyName, $lineno = -1, $filename = null, \Exception $previous = null) 25 { 26 parent::__construct($message, $lineno, $filename, $previous); 27 $this->className = $className; 28 $this->propertyName = $propertyName; 29 } 30 31 public function getClassName() 32 { 33 return $this->className; 34 } 35 36 public function getPropertyName() 37 { 38 return $this->propertyName; 39 } 40 } 41 42 class_alias('Twig\Sandbox\SecurityNotAllowedPropertyError', 'Twig_Sandbox_SecurityNotAllowedPropertyError');
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |