* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ExpressionLanguage\Tests\Fixtures; use Symfony\Component\ExpressionLanguage\ExpressionFunction; use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; class TestProvider implements ExpressionFunctionProviderInterface { public function getFunctions() { return array( new ExpressionFunction('identity', function ($input) { return $input; }, function (array $values, $input) { return $input; }), ); } }