. */ namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Date; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\Place; /** * Definitions for a census */ class CensusOfFrance1851 extends CensusOfFrance implements CensusInterface { /** * When did this census occur. * * @return string */ public function censusDate() { return '1851'; } /** * The columns of the census. * * @param Individual $individual * * @return CensusColumnInterface[] */ public function columns(Individual $individual) { $place = new Place($this->censusPlace(), $individual->getTree()); $date = new Date($this->censusDate()); return array( new CensusColumnFullName($individual, $place, $date), ); } }