public function toArray()
    {
        $arr = [];
        foreach ($this as $k => $v) {
            if ($v instanceof Enumerable) {
                $arr[] = $v->toArray();
            } else {
                $arr[] = $v;
            }
        }

        return $arr;
    }
public function toArray()
    {
        $arr = [];
        foreach ($this as $k => $v) {
            if ($v instanceof Enumerable) {
                $arr[] = $v->toArray();
            } else {
                $arr[] = $v;
            }
        }

        return $arr;
    }
public function toArray ( ) { $ arr = [ ] ; foreach ( $ this as $ k => $ v ) { if ( $ v instanceof Enumerable ) { $ arr [ ] = $ v -> toArray ( ) ; } else { $ arr [ ] = $ v ; } } return $ arr ; }
Returns an array containing the values from this VectorLike.
Returns an array containing the values from this VectorLike .