Skip to content

Commit

Permalink
Prevent running into deprecated annotation error
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpico authored Aug 30, 2024
1 parent d99b299 commit 03c32ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ to register their mapping in Doctrine when you want to use them.
default:
mappings:
gedmo_translatable:
type: annotation
type: annotation # only on Symfony < 6.4
prefix: Gedmo\Translatable\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Translatable/Entity"
alias: GedmoTranslatable # (optional) it will default to the name set for the mapping
is_bundle: false
gedmo_translator:
type: annotation
type: annotation # only on Symfony < 6.4
prefix: Gedmo\Translator\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Translator/Entity"
alias: GedmoTranslator # (optional) it will default to the name set for the mapping
is_bundle: false
gedmo_loggable:
type: annotation
type: annotation # only on Symfony < 6.4
prefix: Gedmo\Loggable\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Loggable/Entity"
alias: GedmoLoggable # (optional) it will default to the name set for the mapping
is_bundle: false
gedmo_tree:
type: annotation
type: annotation # only on Symfony < 6.4
prefix: Gedmo\Tree\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
alias: GedmoTree # (optional) it will default to the name set for the mapping
Expand Down

0 comments on commit 03c32ba

Please sign in to comment.