. */ 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 ExpressionFunction[] */ public function getFunctions(): array { return [ ExpressionFunction::fromPhp('stristr'), ]; } }