mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
* some changes
* moved some admin html code from php to twig templates (.html files) * minimum PHP version required by installer is now 5.1.2, cause of spl_autoload_register functon. * depracated Twig to version 1.20.0 cause of Autoloader * removed unused admin stylish template
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Twig\Sandbox;
|
||||
/*
|
||||
* This file is part of Twig.
|
||||
*
|
||||
* (c) 2009 Fabien Potencier
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class_exists('Twig_Sandbox_SecurityPolicyInterface');
|
||||
/**
|
||||
* Interfaces that all security policy classes must implements.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
interface Twig_Sandbox_SecurityPolicyInterface
|
||||
{
|
||||
public function checkSecurity($tags, $filters, $functions);
|
||||
|
||||
if (\false) {
|
||||
interface SecurityPolicyInterface extends \Twig_Sandbox_SecurityPolicyInterface
|
||||
{
|
||||
}
|
||||
public function checkMethodAllowed($obj, $method);
|
||||
|
||||
public function checkPropertyAllowed($obj, $method);
|
||||
}
|
||||
|
Reference in New Issue
Block a user