DoctrineEncryptBundle icon indicating copy to clipboard operation
DoctrineEncryptBundle copied to clipboard

Does this library support entities which mappings are defined using YAML?

Open nicodemuz opened this issue 3 years ago • 1 comments

I saw only examples using annotations. Is there support for entities which mappings are defined using YAML?

nicodemuz avatar Jul 09 '22 10:07 nicodemuz

@nicodemuz please note that Doctrine deprecated Entity mappings defined in YAML: https://www.doctrine-project.org/projects/doctrine-orm/en/2.15/reference/basic-mapping.html

They also deprecated DocBlock Annotations. Version 3.0 of doctrine/orm will only support PHP Attributes, XML and PHP code.

Currently only Annotations and Attributes are supported by this package.

I have logged issues in this repository (https://github.com/DoctrineEncryptBundle/DoctrineEncryptBundle) to support the same as Doctrine ORM 3.0 and also added an issue to at some later stage remove Annotation support:

  • https://github.com/DoctrineEncryptBundle/DoctrineEncryptBundle/issues/19
  • https://github.com/DoctrineEncryptBundle/DoctrineEncryptBundle/issues/20

r3hp1c avatar Jul 25 '23 10:07 r3hp1c