1: <?php
2:
3: /**
4: * Deep
5: *
6: * @package rsanchez\Deep
7: * @author Rob Sanchez <info@robsanchez.com>
8: */
9:
10: namespace rsanchez\Deep\Model;
11:
12: use Illuminate\Database\Eloquent\Model;
13: use rsanchez\Deep\Collection\UploadPrefCollection;
14:
15: /**
16: * Model for the upload_prefs table
17: */
18: class UploadPref extends Model
19: {
20: /**
21: * {@inheritdoc}
22: *
23: * @var string
24: */
25: protected $table = 'upload_prefs';
26:
27: /**
28: * {@inheritdoc}
29: *
30: * @param array $models
31: * @return \rsanchez\Deep\Collection\UploadPrefCollection
32: */
33: public function newCollection(array $models = array())
34: {
35: return new UploadPrefCollection($models);
36: }
37: }
38: