. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Report; use Symfony\Component\ExpressionLanguage\ExpressionFunction; use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /** * Class ReportExpressionLanguageProvider - support functions in report expressions. */ class ReportExpressionLanguageProvider implements ExpressionFunctionProviderInterface { /** * @return array */ public function getFunctions(): array { return [ ExpressionFunction::fromPhp('stristr'), ]; } }