json_encode(['type' => 'Create']), 'to_id' => Profile::factory(), 'from_id' => Profile::factory(), 'object_type' => 'status', 'processed_at' => null, ]; } public function processed(): static { return $this->state(fn (array $attributes) => [ 'processed_at' => now(), ]); } }