review = $review; $this->data = $data; } /** * 触发事件 */ public function dispatch(): void { Event::emit('adminapi.review.approved', $this); } }