private function hitsToItems($instance)
    {
        $items = array();

        foreach ($this->hits['hits'] as $hit) {

            $items[] = $instance->newFromHitBuilder($hit);
        }

        return $items;
    }
private function hitsToItems($instance)
    {
        $items = array();

        foreach ($this->hits['hits'] as $hit) {

            $items[] = $instance->newFromHitBuilder($hit);
        }

        return $items;
    }
private function hitsToItems ( $ instance ) { $ items = array ( ) ; foreach ( $ this -> hits [ 'hits' ] as $ hit ) { $ items [ ] = $ instance -> newFromHitBuilder ( $ hit ) ; } return $ items ; }
Hits To Items

@param   Eloquent model instance $instance
@return  array
Hits To Items