. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\Menu; /** * Trait ModuleChartTrait - default implementation of ModuleChartInterface */ trait ModuleChartTrait { /** * Return a menu item for this chart. * * @param Individual $individual * * @return ?Menu */ public function getChartMenu(Individual $individual): ?Menu { return null; } /** * Return a menu item for this chart (for menu in individual box). * * @param Individual $individual * * @return ?Menu */ public function getBoxChartMenu(Individual $individual): ?Menu { return null; } }