public function transform(Address $address)
    {
        return [
            'address' => $address->address,
            'addressableId' => $address->addressable_id,
            'addressableType' => $address->addressable_type,
            'country' => $address->country,
            'id' => $address->id,
            'label' => $address->label,
            'municipality' => $address->municipality,
            'postcode' => $address->postcode,
            'stateProvince' => $address->state_province,
        ];
    }
public function transform(Address $address)
    {
        return [
            'address' => $address->address,
            'addressableId' => $address->addressable_id,
            'addressableType' => $address->addressable_type,
            'country' => $address->country,
            'id' => $address->id,
            'label' => $address->label,
            'municipality' => $address->municipality,
            'postcode' => $address->postcode,
            'stateProvince' => $address->state_province,
        ];
    }
public function transform ( Address $ address ) { return [ 'address' => $ address -> address , 'addressableId' => $ address -> addressable_id , 'addressableType' => $ address -> addressable_type , 'country' => $ address -> country , 'id' => $ address -> id , 'label' => $ address -> label , 'municipality' => $ address -> municipality , 'postcode' => $ address -> postcode , 'stateProvince' => $ address -> state_province , ] ; }
Transformer to generate JSON response with Address

@return array
Transformer to generate JSON response with Address