Skip to content

Commit

Permalink
Merge pull request #1834 from samnela/patch-1
Browse files Browse the repository at this point in the history
docs: fix page for CustomIdGenerator attribute
  • Loading branch information
SenseException authored Nov 8, 2024
2 parents eda148b + 4e572c0 commit 2740ad8
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 2740ad8

Please sign in to comment.