Skip to content

Commit

Permalink
docs: fix page for CustomIdGenerator attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
samnela committed Nov 7, 2024
1 parent eda148b commit 4e572c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/en/custom-id-generators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ are provided: ``doctrine.ulid_generator`` to generate ULIDs, and
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
#[ORM\Entity]
class User
{
#[ORM\Id]
Expand All @@ -38,5 +36,5 @@ are provided: ``doctrine.ulid_generator`` to generate ULIDs, and
}
See also
https://www.doctrine-project.org/projects/doctrine-orm/en/2.8/reference/annotations-reference.html#annref_customidgenerator
https://www.doctrine-project.org/projects/doctrine-orm/en/3.3/reference/attributes-reference.html#attrref_customidgenerator
for more info about custom ID generators.

0 comments on commit 4e572c0

Please sign in to comment.