Example #1
0
 protected function fetchHydrated(Collection $collection, $statement)
 {
     if (!$collection->hasMore()) {
         return $this->fetchSingle($collection, $statement);
     } else {
         return $this->fetchMulti($collection, $statement);
     }
 }