Beispiel #1
0
 /**
  * @param array $attributes
  * @return $this
  */
 public function fill(array $attributes)
 {
     parent::fill($attributes);
     if (empty($this->attributes['disk'])) {
         $this->attributes['disk'] = env('DOCUMENT_FILESYSTEM', 'documents');
     }
     return $this;
 }