annotate vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php @ 9:1fc0ff908d1f

Add another data file
author Chris Cannam
date Mon, 05 Feb 2018 12:34:32 +0000
parents 4c8ae668cc8c
children 7a779792577d
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 /*
Chris@0 4 * This file is part of Twig.
Chris@0 5 *
Chris@0 6 * (c) Fabien Potencier
Chris@0 7 *
Chris@0 8 * For the full copyright and license information, please view the LICENSE
Chris@0 9 * file that was distributed with this source code.
Chris@0 10 */
Chris@0 11
Chris@0 12 /**
Chris@0 13 * Interfaces that all security policy classes must implements.
Chris@0 14 *
Chris@0 15 * @author Fabien Potencier <fabien@symfony.com>
Chris@0 16 */
Chris@0 17 interface Twig_Sandbox_SecurityPolicyInterface
Chris@0 18 {
Chris@0 19 public function checkSecurity($tags, $filters, $functions);
Chris@0 20
Chris@0 21 public function checkMethodAllowed($obj, $method);
Chris@0 22
Chris@0 23 public function checkPropertyAllowed($obj, $method);
Chris@0 24 }