. */ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ class CensusOfUnitedStates extends AbstractCensus implements CensusPlaceInterface { /** * All available censuses for this census place. * * @return CensusInterface[] */ public function allCensusDates() { return array( new CensusOfUnitedStates1850(), new CensusOfUnitedStates1860(), new CensusOfUnitedStates1870(), new CensusOfUnitedStates1880(), new CensusOfUnitedStates1890(), new CensusOfUnitedStates1900(), new CensusOfUnitedStates1910(), new CensusOfUnitedStates1920(), new CensusOfUnitedStates1930(), new CensusOfUnitedStates1940(), ); } /** * Where did this census occur, in GEDCOM format. * * @return string */ public function censusPlace() { return 'United States'; } }