PATH:
home
/
nappmpmd
/
mamza.xyz
/
wp-content
/
plugins
/
adfoxly
/
vendor
/
timber
/
timber
/
lib
<?php namespace Timber; /** * Handle TwigFunction among different Twig versions. * * Temporary fixes for conflicts between Twig_Function and Twig_SimpleFunction in different versions * of Twig (1.*, 2.* and 2.4+). From Twig 2.4.0, extending Twig_Filter is deprecated and the class * will be final in 3.0. * * @ticket #1641 */ if ( class_exists( '\Twig\TwigFunction' ) ) { // Twig version >= 2.4 with namespaced classes. class_alias('\Twig\TwigFunction', '\Timber\Twig_Function'); } elseif ( class_exists( '\Twig_Function' ) ) { // Twig version >= 2.0.0 class Twig_Function extends \Twig_Function { } } else { // Twig 1.x class Twig_Function extends \Twig_SimpleFunction { } }
[-] PostGetter.php
[edit]
[-] PostPreview.php
[edit]
[-] URLHelper.php
[edit]
[-] Theme.php
[edit]
[-] Term.php
[edit]
[-] Loader.php
[edit]
[-] MenuItem.php
[edit]
[+]
..
[-] ImageHelper.php
[edit]
[-] User.php
[edit]
[-] Archives.php
[edit]
[-] CoreInterface.php
[edit]
[+]
Integrations
[-] CommentThread.php
[edit]
[-] Integrations.php
[edit]
[-] Menu.php
[edit]
[-] Pagination.php
[edit]
[-] Twig_Filter.php
[edit]
[-] Image.php
[edit]
[-] TermGetter.php
[edit]
[-] Twig_Function.php
[edit]
[+]
Image
[-] PathHelper.php
[edit]
[-] PostsIterator.php
[edit]
[-] PostQuery.php
[edit]
[-] Twig.php
[edit]
[-] Admin.php
[edit]
[-] Post.php
[edit]
[+]
Cache
[-] Comment.php
[edit]
[-] Helper.php
[edit]
[-] PostType.php
[edit]
[-] Timber.php
[edit]
[-] TextHelper.php
[edit]
[-] Request.php
[edit]
[-] Site.php
[edit]
[-] PostCollection.php
[edit]
[-] QueryIterator.php
[edit]
[-] FunctionWrapper.php
[edit]
[-] LocationManager.php
[edit]
[-] Core.php
[edit]