| @@ 126-132 (lines=7) @@ | ||
| 123 | * @param string $name | |
| 124 | * @return ProfileInterface | |
| 125 | */ | |
| 126 | public function withName(string $name): ProfileInterface | |
| 127 |     { | |
| 128 | $clone = clone $this; | |
| 129 | $clone->name = $name; | |
| 130 | $clone->changedFields['name'] = 'name'; | |
| 131 | return $clone; | |
| 132 | } | |
| 133 | ||
| 134 | /** | |
| 135 | * @param string $location | |
| @@ 138-144 (lines=7) @@ | ||
| 135 | * @param string $location | |
| 136 | * @return ProfileInterface | |
| 137 | */ | |
| 138 | public function withLocation(string $location): ProfileInterface | |
| 139 |     { | |
| 140 | $clone = clone $this; | |
| 141 | $clone->location = $location; | |
| 142 | $clone->changedFields['location'] = 'location'; | |
| 143 | return $clone; | |
| 144 | } | |
| 145 | ||
| 146 | /** | |
| 147 | * @param string $description | |
| @@ 150-156 (lines=7) @@ | ||
| 147 | * @param string $description | |
| 148 | * @return ProfileInterface | |
| 149 | */ | |
| 150 | public function withDescription(string $description): ProfileInterface | |
| 151 |     { | |
| 152 | $clone = clone $this; | |
| 153 | $clone->description = $description; | |
| 154 | $clone->changedFields['description'] = 'description'; | |
| 155 | return $clone; | |
| 156 | } | |
| 157 | ||
| 158 | /** | |
| 159 | * @param string $url | |
| @@ 162-168 (lines=7) @@ | ||
| 159 | * @param string $url | |
| 160 | * @return ProfileInterface | |
| 161 | */ | |
| 162 | public function withUrl(string $url): ProfileInterface | |
| 163 |     { | |
| 164 | $clone = clone $this; | |
| 165 | $clone->url = $url; | |
| 166 | $clone->changedFields['url'] = 'url'; | |
| 167 | return $clone; | |
| 168 | } | |
| 169 | ||
| 170 | public function putProfile() | |
| 171 |     { | |