*/ class ScriptDownloadAction extends DownloadAction { /** * Create a new action instance. * * @param VideoScript $script */ public function __construct(VideoScript $script) { parent::__construct($script); } /** * Get the path of the resource in storage. * * @return string */ protected function path(): string { return $this->model->path; } /** * The name of the disk. * * @return string */ public function disk(): string { return Config::get(VideoConstants::SCRIPT_DISK_QUALIFIED); } }