*/ class DeleteScriptAction extends DeleteAction { /** * Create a new action instance. * * @param VideoScript $script */ public function __construct(VideoScript $script) { parent::__construct($script); } /** * The list of disk names. * * @return array */ public function disks(): array { return Arr::wrap(Config::get(VideoConstants::SCRIPT_DISK_QUALIFIED)); } /** * Get the path to delete. * * @return string */ protected function path(): string { return $this->model->path; } }