/**
  * Implement getAll()
  */
 public function getAll($limit = 10)
 {
     // using the Eloquent model
     if ($limit == 0) {
         return GenericContainer::get();
     } elseif ($limit == 1) {
         return GenericContainer::first();
     }
     return GenericContainer::limit(10)->get();
 }