file = $file; $this->column_name = ! empty($column_name) ? $column_name : 'attachment'; $this->options = ! empty($options) ? $options : false; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|string */ public function render() { return view('components.media.file'); } }