message = $message; resolve(License::class)->deleteLicenseFile(); } public function render() { return redirect()->route('license.create') ->with('error', $this->message); } }