for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the `liip/LiipImagineBundle` project.
*
* (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Liip\ImagineBundle\Templating;
use Twig\Extension\AbstractExtension;
use Twig\TwigFilter;
final class LazyFilterExtension extends AbstractExtension
{
/**
* {@inheritdoc}
public function getFilters()
return [
new TwigFilter('imagine_filter', [FilterRuntime::class, 'filter']),
];
}
public function getName()
return 'liip_imagine_lazy';