コード例 #1
0
 protected function createCollection(Builder $builder)
 {
     $collection = new Collection();
     $collection->setItemClass($builder->modelClass());
     return $collection;
 }
コード例 #2
0
ファイル: SearchFactory.php プロジェクト: realholgi/versatile
 protected function createCollection(Search $search)
 {
     $collection = new Collection();
     $collection->setItemClass($search->modelClass());
     return $collection;
 }