Method | Description | |
---|---|---|
fromApiResponse ( $response ) : |
Creates an instance of DistanceMatrixResponse from raw API response in json | |
getDestinationAddresses ( ) : string | ||
getOriginAddresses ( ) : string | ||
getRows ( ) : |
||
getStatus ( ) : string |
Method | Description | |
---|---|---|
getDestinationAddressesFromResponse ( array $distanceMatrix ) | ||
getErrorFromResponse ( array $distanceMatrix ) | ||
getOriginAddressesFromResponse ( array $distanceMatrix ) | ||
getRowsFromResponse ( array $distanceMatrix ) | ||
getStatusFromResponse ( array $distanceMatrix ) |
public static fromApiResponse ( $response ) : |
||
$response | ||
return |
public getRows ( ) : |
||
return |