File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
tests/Fixtures/TestBundle/Entity/Issue5736Aerendir Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 14
14
namespace ApiPlatform \Tests \Fixtures \TestBundle \Entity \Issue5736Aerendir ;
15
15
16
16
use ApiPlatform \Metadata as API ;
17
+ use Coommercio \App \Coommercio \Entity \Property \AccountAware ;
17
18
use Doctrine \Common \Collections \ArrayCollection ;
18
19
use Doctrine \Common \Collections \Collection ;
19
20
use Doctrine \ORM \Mapping as ORM ;
35
36
),
36
37
new API \Get (
37
38
uriTemplate: self ::API_RESOURCE ,
39
+ uriVariables: [
40
+ self ::API_ID_PLACEHOLDER => new API \Link (fromClass: self ::class, identifiers: ['id ' ]),
41
+ ],
38
42
),
39
43
new API \Post (
40
44
read: false ,
41
45
uriTemplate: self ::API_ENDPOINT ,
42
46
),
43
47
new API \Put (
44
48
uriTemplate: self ::API_RESOURCE ,
49
+ uriVariables: [
50
+ self ::API_ID_PLACEHOLDER => new API \Link (fromClass: self ::class, identifiers: ['id ' ]),
51
+ ],
45
52
),
46
53
],
47
54
)]
You can’t perform that action at this time.
0 commit comments