Tiger_Location_Place

@api

Tiger_Location_Place — the ONE normalized payload every Location adapter returns.

Whether you fed the service a partial address, a lat/lng, or an IP, you get back this same shape, so callers (and the JSON that reaches the browser) never care which provider answered. Any field may be null when a provider can't supply it.

Methods

__construct()

__construct(array $data = [])

Hydrate the place from a field map (unknown keys are ignored).

  • $data array — field => value pairs matching this object's properties

toArray()

toArray(): array

The stable public payload (no raw provider blob).

Returns array — the normalized place fields