function SecurityPolicyInterface::checkPropertyAllowed
Parameters
object $obj:
string $property:
Throws
SecurityNotAllowedPropertyError
2 methods override SecurityPolicyInterface::checkPropertyAllowed()
- SecurityPolicy::checkPropertyAllowed in vendor/
twig/ twig/ src/ Sandbox/ SecurityPolicy.php - TwigSandboxPolicy::checkPropertyAllowed in core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php
File
-
vendor/
twig/ twig/ src/ Sandbox/ SecurityPolicyInterface.php, line 44
Class
- SecurityPolicyInterface
- Interface that all security policy classes must implements.
Namespace
Twig\SandboxCode
public function checkPropertyAllowed($obj, $property) : void;