minor #1673 Add Twig_ExistsLoaderInterface back for 1.x BC layer #1644 (joelpittet)

This PR was merged into the 2.0-dev branch.

Discussion
----------

Add Twig_ExistsLoaderInterface back for 1.x BC layer #1644

This is the 2.x change for 1.x BC layer of Twig_ExistsLoaderInterface for #1644

Commits
-------

3e546c9 Add Twig_ExistsLoaderInterface back for 1.x BC layer
This commit is contained in:
Fabien Potencier
2015-07-05 08:03:51 +02:00
+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
{
}