$board->getRouteKey(), 'key' => [ 'public' => $board->getPublicKey(), 'route' => $board->getRouteKey(), ], 'id' => $board->id, 'project_id' => $board->project_id, 'title' => $board->title, 'order' => $board->order, 'status' => $board->status, 'created_at' => $board->created_at, 'deleted_at' => $board->deleted_at, 'updated_at' => $board->updated_at, 'url' => [ 'public' => trans_url('timesheet/'.$board->getPublicKey()), 'user' => guard_url('timesheet/board/'.$board->getRouteKey()), ], 'status' => trans('app.'.$board->status), 'created_at' => format_date($board->created_at), 'updated_at' => format_date($board->updated_at), ]; } }