protected function renderASeriesOfLinks($value, $presentation): array
    {
        if ($value instanceof Collection) {
            $value = $value->getAll();
        }

        $result = [];
        foreach ($value as $path) {
            $result[] = $this->render($path, $presentation);
        }

        return $result;
    }
protected function renderASeriesOfLinks($value, $presentation): array
    {
        if ($value instanceof Collection) {
            $value = $value->getAll();
        }

        $result = [];
        foreach ($value as $path) {
            $result[] = $this->render($path, $presentation);
        }

        return $result;
    }
protected function renderASeriesOfLinks ( $ value , $ presentation ) : array { if ( $ value instanceof Collection ) { $ value = $ value -> getAll ( ) ; } $ result = [ ] ; foreach ( $ value as $ path ) { $ result [ ] = $ this -> render ( $ path , $ presentation ) ; } return $ result ; }
Returns a series of anchors and strings for the given collection of routable items.

@param array|\Traversable|Collection $value
@param string                        $presentation

@return string[]
Returns a series of anchors and strings for the given collection of routable items .