public function collection(Collection $collection, PresentableInterface $presenter)
    {
        foreach ($collection as $key => $value) {
            $collection->put($key, $this->model($value, $presenter));
        }

        return $collection;
    }
public function collection(Collection $collection, PresentableInterface $presenter)
    {
        foreach ($collection as $key => $value) {
            $collection->put($key, $this->model($value, $presenter));
        }

        return $collection;
    }
public function collection ( Collection $ collection , PresentableInterface $ presenter ) { foreach ( $ collection as $ key => $ value ) { $ collection -> put ( $ key , $ this -> model ( $ value , $ presenter ) ) ; } return $ collection ; }
Return an instance of a Collection with each value wrapped in a presenter object

@param  Collection $collection
@param  PresentableInterface $presenter

@return Collection
Return an instance of a Collection with each value wrapped in a presenter object