Interface that all security policy classes must implements.
- Auteur
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
◆ checkMethodAllowed()
| checkMethodAllowed |
( |
| $obj, |
|
|
| $method ) |
- Paramètres
-
- Exceptions
-
| SecurityNotAllowedMethodError | |
Implémenté dans SecurityPolicy.
◆ checkPropertyAllowed()
| checkPropertyAllowed |
( |
| $obj, |
|
|
| $property ) |
- Paramètres
-
| object | $obj | |
| string | $property | |
- Exceptions
-
| SecurityNotAllowedPropertyError | |
Implémenté dans SecurityPolicy.
◆ checkSecurity()
| checkSecurity |
( |
| $tags, |
|
|
| $filters, |
|
|
| $functions ) |
- Paramètres
-
| string[] | $tags | |
| string[] | $filters | |
| string[] | $functions | |
- Exceptions
-
Implémenté dans SecurityPolicy.
La documentation de cette interface a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Sandbox/SecurityPolicyInterface.php