public function values()
    {
        $count       = $this->count()->toNative();
        $valuesArray = new \SplFixedArray($count);

        foreach ($this->items as $key => $item) {
            $valuesArray->offsetSet($key, $item->getValue());
        }

        return new Collection($valuesArray);
    }
public function values()
    {
        $count       = $this->count()->toNative();
        $valuesArray = new \SplFixedArray($count);

        foreach ($this->items as $key => $item) {
            $valuesArray->offsetSet($key, $item->getValue());
        }

        return new Collection($valuesArray);
    }
public function values ( ) { $ count = $ this -> count ( ) -> toNative ( ) ; $ valuesArray = new \ SplFixedArray ( $ count ) ; foreach ( $ this -> items as $ key => $ item ) { $ valuesArray -> offsetSet ( $ key , $ item -> getValue ( ) ) ; } return new Collection ( $ valuesArray ) ; }
Returns a Collection of the values

@return Collection
Returns a Collection of the values