You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/customized/App/Entity/Person.php
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
useApiPlatform\Core\Annotation\ApiProperty;
8
8
useApiPlatform\Core\Annotation\ApiResource;
9
9
useApp\Attribute\MyCustomAttribute;
10
+
useApp\Enum\GenderType;
10
11
useApp\Model\MyCustomClass;
11
12
useApp\Model\MyCustomInterface;
12
13
useDoctrine\ORM\MappingasORM;
@@ -68,6 +69,16 @@ class Person extends MyCustomClass implements MyCustomInterface
68
69
#[Groups(['extra'])]
69
70
private ?string$additionalName = null;
70
71
72
+
/**
73
+
* Gender of something, typically a \[\[Person\]\], but possibly also fictional characters, animals, etc. While https://schema.org/Male and https://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender. The \[\[gender\]\] property can also be used in an extended sense to cover e.g. the gender of sports teams. As with the gender of individuals, we do not try to enumerate all possibilities. A mixed-gender \[\[SportsTeam\]\] can be indicated with a text value of "Mixed".
* Gender of something, typically a \[\[Person\]\], but possibly also fictional characters, animals, etc. While https://schema.org/Male and https://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender. The \[\[gender\]\] property can also be used in an extended sense to cover e.g. the gender of sports teams. As with the gender of individuals, we do not try to enumerate all possibilities. A mixed-gender \[\[SportsTeam\]\] can be indicated with a text value of "Mixed".
0 commit comments