. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Individual; use Illuminate\Support\Collection; /** * Interface ModuleHistoricEventsInterface - Show historic facts on an individual‘s page */ interface ModuleHistoricEventsInterface extends ModuleInterface { /** * All events provided by this module. * * @return string[] */ public function historicEventsAll(): array; /** * Which events should we show for an individual? * * @param Individual $individual * * @return Collection */ public function historicEventsForIndividual(Individual $individual): Collection; }