The trait UKTowns\Models\HasCoordinates requires some properties which are not provided by UKTowns\Models\GeoPostcode: $longitudeColumnName, $distanceColumnName, $distance, $latitudeColumnName
Loading history...
11
12
protected $primaryKey = 'postcode';
13
14
protected $keyType = 'string';
15
16
public $incrementing = false;
17
18
protected $guarded = [];
19
20
2
public function getTable(): string
21
{
22
2
return config('uk-towns.tables.postcodes');
23
}
24
25
protected static function newFactory(): GeoPostcodeFactory