$distributionarea->getRouteKey(), 'key' => [ 'public' => $distributionarea->getPublicKey(), 'route' => $distributionarea->getRouteKey(), ], 'name' => $distributionarea->name, 'slug' => $distributionarea->slug, 'user_id' => $distributionarea->user_id, 'deleted_at' => $distributionarea->deleted_at, 'url' => [ 'public' => trans_url('master/'.$distributionarea->getPublicKey()), 'user' => guard_url('master/distributionarea/'.$distributionarea->getRouteKey()), ], 'status' => trans('app.'.$distributionarea->status), 'created_at' => format_date($distributionarea->created_at), 'updated_at' => format_date($distributionarea->updated_at), ]; } }