Add Twig_ExistsLoaderInterface back for 1.x BC layer

This commit is contained in:
Joel Pittet
2015-04-18 14:08:38 -07:00
parent 34e943ae7c
commit 3e546c9caa
+24
View File
@@ -0,0 +1,24 @@
<?php
/*
* 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.
*/
/**
* Adds an exists() method for loaders. Extends Twig_LoaderInterface for loaders
* can be compatible with Twig 1.x and 2.x.
*
* 1.x BC layer.
*
* @author Florin Patan <florinpatan@gmail.com>
*
* @deprecated since 1.12 (to be removed in 3.0)
*/
interface Twig_ExistsLoaderInterface extends Twig_LoaderInterface
{
}