protected function buildDirectionsSteps(array $directionsSteps)
    {
        $results =  array();
        foreach ($directionsSteps as $directionsStep) {
            $results[] = $this->buildDirectionsStep($directionsStep);
        }

        return $results;
    }
protected function buildDirectionsSteps(array $directionsSteps)
    {
        $results =  array();
        foreach ($directionsSteps as $directionsStep) {
            $results[] = $this->buildDirectionsStep($directionsStep);
        }

        return $results;
    }
protected function buildDirectionsSteps ( array $ directionsSteps ) { $ results = array ( ) ; foreach ( $ directionsSteps as $ directionsStep ) { $ results [ ] = $ this -> buildDirectionsStep ( $ directionsStep ) ; } return $ results ; }
Builds the directions steps according to the normalized directions API steps.

@param array $directionsSteps The normalized directions steps.

@return array The builded directions steps.
Builds the directions steps according to the normalized directions API steps .