CensusLineSet::getDistrict - jcobban/Genealogy GitHub Wiki
$lineset->getDistrict()
This factory method returns instance of class District corresponding to the district parameter passed to the constructor. If that parameter was a reference to an instance of District, then this returns that same instance, otherwise it constructs an instance based upon the census and district identifiers. Note that if an array of district identifiers was passed then this returns the instance of District corresponding to the first entry in the array.