. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ class CensusOfWales1841 extends CensusOfWales implements CensusInterface { /** * When did this census occur. * * @return string */ public function censusDate(): string { return '06 JUN 1841'; } /** * The columns of the census. * * @return CensusColumnInterface[] */ public function columns(): array { return [ new CensusColumnFullName($this, 'Name', 'Name'), new CensusColumnAgeMale5Years($this, 'AgeM', 'Age (males)'), new CensusColumnAgeFemale5Years($this, 'AgeF', 'Age (females)'), new CensusColumnOccupation($this, 'Occupation', 'Profession, trade, employment or of independent means'), new CensusColumnNull($this, 'BiC', 'Born in same county'), new CensusColumnBornForeignParts($this, 'SIF', 'Born in Scotland, Ireland or foreign parts'), ]; } }