Skip to content

Commit

Permalink
docs: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jul 1, 2024
1 parent 845ef85 commit 75dea64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $result = $sandboxView->renderString("{{ dump() }}", []);

### Custom SecurityPolicy

You can also create your own custom `SecurityPolicy` to use, it just needs to conform to the Twig `SecurityPolicyInterface`:
You can also create your own custom `SecurityPolicy` to use, it just needs to conform to the Twig [`SecurityPolicyInterface`](https://github.com/twigphp/Twig/blob/3.x/src/Sandbox/SecurityPolicyInterface.php):

```php
use my\custom\SecurityPolicy;
Expand All @@ -101,7 +101,6 @@ $sandboxView = new SandboxView(['securityPolicy' => $securityPolicy]);
$result = $sandboxView->renderString("{{ dump() }}", []);
```

...
## Craft Twig Sandbox Roadmap

Some things to do, and ideas for potential features:
Expand Down

0 comments on commit 75dea64

Please sign in to comment.