public function getZonesFromAddress(AddressInterface $address)
    {
        return $this
            ->zoneRepository
            ->getActiveZones()
            ->filter(function (ZoneInterface $zone) use ($address) {

                return $this
                    ->zoneMatcher
                    ->isAddressContainedInZone(
                        $address,
                        $zone
                    );
            });
    }
public function getZonesFromAddress(AddressInterface $address)
    {
        return $this
            ->zoneRepository
            ->getActiveZones()
            ->filter(function (ZoneInterface $zone) use ($address) {

                return $this
                    ->zoneMatcher
                    ->isAddressContainedInZone(
                        $address,
                        $zone
                    );
            });
    }
public function getZonesFromAddress ( AddressInterface $ address ) { return $ this -> zoneRepository -> getActiveZones ( ) -> filter ( function ( ZoneInterface $ zone ) use ( $ address ) { return $ this -> zoneMatcher -> isAddressContainedInZone ( $ address , $ zone ) ; } ) ; }
Get all zones where the address is included in.

@param AddressInterface $address Address

@return bool Zones where address is contained
Get all zones where the address is included in .