14
14
namespace ApiPlatform \GraphQl \Tests \Fixtures \ApiResource ;
15
15
16
16
use ApiPlatform \Metadata \ApiProperty ;
17
- use ApiPlatform \Tests \Fixtures \TestBundle \Entity \RelatedDummy ;
18
- use ApiPlatform \Tests \Fixtures \TestBundle \Entity \RelatedOwnedDummy ;
19
- use ApiPlatform \Tests \Fixtures \TestBundle \Entity \RelatedOwningDummy ;
20
- use Doctrine \Common \Collections \Collection ;
21
17
22
18
/**
23
19
* Dummy.
@@ -194,44 +190,6 @@ public function getArrayData()
194
190
return $ this ->arrayData ;
195
191
}
196
192
197
- public function getRelatedDummy (): ?RelatedDummy
198
- {
199
- return $ this ->relatedDummy ;
200
- }
201
-
202
- public function setRelatedDummy (RelatedDummy $ relatedDummy ): void
203
- {
204
- $ this ->relatedDummy = $ relatedDummy ;
205
- }
206
-
207
- public function addRelatedDummy (RelatedDummy $ relatedDummy ): void
208
- {
209
- $ this ->relatedDummies ->add ($ relatedDummy );
210
- }
211
-
212
- public function getRelatedOwnedDummy ()
213
- {
214
- return $ this ->relatedOwnedDummy ;
215
- }
216
-
217
- public function setRelatedOwnedDummy (RelatedOwnedDummy $ relatedOwnedDummy ): void
218
- {
219
- $ this ->relatedOwnedDummy = $ relatedOwnedDummy ;
220
- if ($ this !== $ this ->relatedOwnedDummy ->getOwningDummy ()) {
221
- $ this ->relatedOwnedDummy ->setOwningDummy ($ this );
222
- }
223
- }
224
-
225
- public function getRelatedOwningDummy ()
226
- {
227
- return $ this ->relatedOwningDummy ;
228
- }
229
-
230
- public function setRelatedOwningDummy (RelatedOwningDummy $ relatedOwningDummy ): void
231
- {
232
- $ this ->relatedOwningDummy = $ relatedOwningDummy ;
233
- }
234
-
235
193
public function isDummyBoolean (): ?bool
236
194
{
237
195
return $ this ->dummyBoolean ;
@@ -254,9 +212,4 @@ public function getDummy()
254
212
{
255
213
return $ this ->dummy ;
256
214
}
257
-
258
- public function getRelatedDummies (): Collection |iterable
259
- {
260
- return $ this ->relatedDummies ;
261
- }
262
215
}
0 commit comments