security = $security; $this->reminderStore = $reminderStore; $this->settingSolver = $settingSolver; } public function getFunctions() { return [ new TwigFunction('sov_reminders', [$this, 'getReminders']), new TwigFunction('site_setting', [$this, 'getSiteSetting']), ]; } public function getFilters() { return []; } public function getSiteSetting(SiteInterface $site, string $settingName): ?string { return $this->settingSolver->getSettingValue($site, $settingName); } public function getReminders($params) { // @TODO : à faire return array(); } }