[ 'id' => $this->id, 'name' => $this->name, 'guard_name' => $this->guard_name, 'created_at' => $this->created_at->toIso8601String(), 'updated_at' => $this->updated_at->toIso8601String(), 'deleted_at' => $this->deleted_at ? $this->deleted_at->toIso8601String() : $this->deleted_at, 'roles' => $this->roles, 'users' => $this->users, ] ]; } }