Beispiel #1
0
 public function download()
 {
     $plan = new Static();
     return $plan->fill(['path' => storage_path() . '/' . $this->path, 'name' => $this->filename]);
 }