src/Services/DistanceMatrix/DistanceMatrixResponseRow.php
public function setElements(array $elements)
    {
        $this->elements = array();

        foreach ($elements as $element) {
            $this->addElement($element);
        }
    }
public function setElements(array $elements)
    {
        $this->elements = array();

        foreach ($elements as $element) {
            $this->addElement($element);
        }
    }
Sets the distance matrix row elements.

@param array $elements The row elements.