for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\ResourceBundle\ExpressionLanguage;
use Symfony\Component\DependencyInjection\ExpressionLanguage as BaseExpressionLanguage;
use Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheInterface;
/**
* @author Mateusz Zalewski <[email protected]>
final class ExpressionLanguage extends BaseExpressionLanguage
{
* {@inheritdoc}
public function __construct(ParserCacheInterface $parser = null, array $providers = array())
array_unshift($providers, new NotNullExpressionFunctionProvider());
parent::__construct($parser, $providers);
}