*/ public static function to_admin_array( BookingForm $form ): array { return [ 'id' => $form->id(), 'uuid' => $form->uuid()->to_string(), 'name' => $form->name(), 'slug' => $form->slug(), 'status' => $form->status()->value, 'steps' => $form->steps(), 'service_ids' => $form->service_ids(), 'agent_ids' => $form->agent_ids(), 'location_ids' => $form->location_ids(), 'category_ids' => $form->category_ids(), 'settings' => $form->settings(), 'theme' => $form->theme(), 'created_at' => $form->created_at()->format( 'c' ), 'updated_at' => $form->updated_at()->format( 'c' ), ]; } }