|
|
| __construct (SecurityPolicyInterface $policy, $sandboxed=false, ?SourcePolicyInterface $sourcePolicy=null) |
| | getTokenParsers () |
| | getNodeVisitors () |
|
| enableSandbox () |
|
| disableSandbox () |
|
| isSandboxed (?Source $source=null) |
|
| isSandboxedGlobally () |
|
| setSecurityPolicy (SecurityPolicyInterface $policy) |
|
| getSecurityPolicy () |
|
| checkSecurity ($tags, $filters, $functions, ?Source $source=null) |
|
| checkMethodAllowed ($obj, $method, int $lineno=-1, ?Source $source=null) |
|
| checkPropertyAllowed ($obj, $property, int $lineno=-1, ?Source $source=null) |
| | ensureToStringAllowed ($obj, int $lineno=-1, ?Source $source=null) |
| | getFilters () |
| | getTests () |
| | getFunctions () |
| | getOperators () |
|
| getExpressionParsers () |
| | getLastModified () |
◆ ensureToStringAllowed()
| ensureToStringAllowed |
( |
| $obj, |
|
|
int | $lineno = -1, |
|
|
?Source | $source = null ) |
- Exceptions
-
| SecurityNotAllowedMethodError | |
◆ getNodeVisitors()
Returns the node visitor instances to add to the existing list.
- Renvoie
- NodeVisitorInterface[]
Réimplémentée à partir de AbstractExtension.
◆ getTokenParsers()
Returns the token parser instances to add to the existing list.
- Renvoie
- TokenParserInterface[]
Réimplémentée à partir de AbstractExtension.
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Extension/SandboxExtension.php