post = $post; } /** * Execute the job. */ public function handle(): void { if (! is_null($this->post)) { PublishIndexPostTask::handle($this->post); } } }