app/Module/LifespansChartModule.php
public function chartUrl(Individual $individual, array $parameters = []): string
    {
        return route('module', [
                'module'  => $this->name(),
                'action'  => 'Chart',
                'xrefs[]' => $individual->xref(),
                'ged'     => $individual->tree()->name(),
            ] + $parameters);
    }
public function chartUrl(Individual $individual, array $parameters = []): string
    {
        return route('module', [
                'module'  => $this->name(),
                'action'  => 'Chart',
                'xrefs[]' => $individual->xref(),
                'ged'     => $individual->tree()->name(),
            ] + $parameters);
    }
public function chartUrl ( Individual $ individual , array $ parameters = [ ] ) : string { return route ( 'module' , [ 'module' => $ this -> name ( ) , 'action' => 'Chart' , 'xrefs[]' => $ individual -> xref ( ) , 'ged' => $ individual -> tree ( ) -> name ( ) , ] + $ parameters ) ; }
The URL for this chart.

@param Individual $individual
@param string[]   $parameters

@return string
The URL for this chart .