*/ public function present( Fix $fix ): array { $progress = $fix->progress; return array( 'id' => $fix->id, 'action' => $fix->action->value, 'state' => $progress->state->value, 'created_at' => $this->iso_time->from_timestamp( $fix->created_at ), 'new_url' => $fix->new_url, 'links_total' => $fix->links_total(), 'links_done' => $progress->links_done, 'places_total' => $progress->places_total, 'places_done' => $progress->places_done, 'places_failed' => $progress->places_failed, 'first_url' => $fix->first_url, ); } }