files) && empty($this->url), Quit::class, 'Must have either a valid file or URL' ); } public function hasURL(): bool { return !empty($this->url); } }