. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\Menu; /** * Interface ModuleChartInterface - Classes and libraries for module system */ interface ModuleChartInterface { /** * Return a menu item for this chart. * * @param Individual $individual * * @return Menu|null */ public function getChartMenu(Individual $individual): ?Menu; /** * Return a menu item for this chart (for menu in individual box). * * @param Individual $individual * * @return Menu|null */ public function getBoxChartMenu(Individual $individual): ?Menu; }