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