diff --git a/CHANGELOG.md b/CHANGELOG.md index 663032abc..9aed08866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ a release. ### Deprecated - Tree: When using Closure tree strategy, it is deprecated not defining the mapping associations of the closure entity. - `Gedmo\Tool\Logging\DBAL\QueryAnalizer` class without replacement. +- Using YAML mapping is deprecated, you SHOULD migrate to attributes, annotations or XML. ### Changed - In order to use a custom cache for storing configuration of an extension, the user has to call `setCacheItemPool()` diff --git a/doc/blameable.md b/doc/blameable.md index 10fb3ee14..a0d9bfb78 100644 --- a/doc/blameable.md +++ b/doc/blameable.md @@ -22,7 +22,7 @@ Features: - Specific attributes and annotations for properties, and no interface required - Can react to specific property or relation changes to specific value - Can be nested with other behaviors -- Attribute, Annotation, Yaml and Xml mapping support for extensions +- Attribute, Annotation and Xml mapping support for extensions This article will cover the basic installation and functionality of **Blameable** behavior @@ -31,7 +31,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Advanced usage [examples](#advanced-examples) - Using [Traits](#traits) @@ -371,38 +370,6 @@ class Article Now on update and creation these annotated fields will be automatically updated - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - createdBy: - type: string - gedmo: - blameable: - on: create - updatedBy: - type: string - gedmo: - blameable: - on: update -``` - ## Xml mapping example @@ -572,45 +539,6 @@ class Article } ``` -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - createdBy: - type: string - gedmo: - blameable: - on: create - updatedBy: - type: string - gedmo: - blameable: - on: update - publishedBy: - type: string - gedmo: - blameable: - on: change - field: type.title - value: Published - manyToOne: - type: - targetEntity: Entity\Type - inversedBy: articles -``` - Now few operations to get it all done: ```php diff --git a/doc/ip_traceable.md b/doc/ip_traceable.md index 343b934fa..489e07590 100644 --- a/doc/ip_traceable.md +++ b/doc/ip_traceable.md @@ -17,7 +17,7 @@ Features: - Specific attributes and annotations for properties, and no interface required - Can react to specific property or relation changes to specific value - Can be nested with other behaviors -- Attribute, Annotation, Yaml and Xml mapping support for extensions +- Attribute, Annotation and Xml mapping support for extensions This article will cover the basic installation and functionality of **IpTraceable** behavior @@ -26,7 +26,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Advanced usage [examples](#advanced-examples) - Using [Traits](#traits) @@ -255,42 +254,6 @@ class Article Now on update and creation these annotated fields will be automatically updated - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - createdFromIp: - type: string - length: 45 - nullable: true - gedmo: - ipTraceable: - on: create - updatedFromIp: - type: string - length: 45 - nullable: true - gedmo: - ipTraceable: - on: update -``` - ## Xml mapping example @@ -460,51 +423,6 @@ class Article } ``` -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - createdFromIp: - type: string - length: 45 - nullable: true - gedmo: - ipTraceable: - on: create - updatedFromIp: - type: string - length: 45 - nullable: true - gedmo: - ipTraceable: - on: update - publishedFromIp: - type: string - length: 45 - nullable: true - gedmo: - ipTraceable: - on: change - field: type.title - value: Published - manyToOne: - type: - targetEntity: Entity\Type - inversedBy: articles -``` - Now few operations to get it all done: ```php diff --git a/doc/loggable.md b/doc/loggable.md index 9cc963b02..92e56974d 100644 --- a/doc/loggable.md +++ b/doc/loggable.md @@ -9,7 +9,7 @@ Features: - ORM and ODM support using same listener - Can be nested with other behaviors - Objects can be reverted to previous versions -- Attributes, Annotation, Yaml and Xml mapping support for extensions +- Attributes, Annotation and Xml mapping support for extensions This article will cover the basic installation and functionality of **Loggable** behavior @@ -19,7 +19,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Basic usage [examples](#basic-examples) @@ -169,38 +168,6 @@ class Article } ``` - - -## Yaml mapping example - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - gedmo: - loggable: -# using specific personal LogEntryClass class: - logEntryClass: My\LogEntry -# without specifying the LogEntryClass class: -# loggable: true - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - gedmo: - - versioned - content: - type: text -``` - ## Xml mapping example diff --git a/doc/mapping.md b/doc/mapping.md index 379a06dd4..48366bb4c 100644 --- a/doc/mapping.md +++ b/doc/mapping.md @@ -8,7 +8,7 @@ for different object managers like **ODM** and **ORM**. Features: -- Mapping drivers for annotation and yaml +- Mapping drivers for annotation - Conventional extension points for metadata extraction and object manager abstraction - Public [Mapping repository](https://github.com/doctrine-extensions/DoctrineExtensions "Mapping extension on Github") is available on github diff --git a/doc/reference_integrity.md b/doc/reference_integrity.md index 32ef61ed8..af38101de 100644 --- a/doc/reference_integrity.md +++ b/doc/reference_integrity.md @@ -1,7 +1,7 @@ # Reference Integrity behavior extension for Doctrine 2 **ReferenceIntegrity** behavior will automate the reference integrity for referenced documents. -It works through annotations and yaml, and supports 'nullify', 'pull' and 'restrict' which throws an exception. +It works through annotations and attributes, and supports 'nullify', 'pull' and 'restrict' which throws an exception. So let's say you have a Type which is referenced to multiple Articles, when deleting the Type, by default the Article would still have a reference to Type, since Mongo doesn't care. When setting the ReferenceIntegrity to 'nullify' it @@ -15,7 +15,7 @@ Features: - ODM only - ReferenceOne and ReferenceMany support - 'nullify', 'pull' and 'restrict' support -- Attribute, Annotation and Yaml mapping support for extensions +- Attribute and Annotation mapping support for extensions This article will cover the basic installation and functionality of **ReferenceIntegrity** behavior @@ -23,7 +23,6 @@ Content: - [Including](#including-extension) the extension - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - Usage [examples](#advanced-examples) @@ -80,32 +79,6 @@ class Type It is necessary to have the 'mappedBy' option set, to be able to access the referenced documents. On removal of Type, on the referenced Article the Type reference will be nullified (removed) - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Documents.Article.dcm.yml** - -``` ---- -Document\Type: - type: document - collection: types - fields: - id: - id: true - title: - type: string - article: - reference: true - type: one - mappedBy: type - targetDocument: Document\Article - gedmo: - referenceIntegrity: nullify # or pull or restrict - -``` - It is necessary to have the 'mappedBy' option set, to be able to access the referenced documents. diff --git a/doc/sluggable.md b/doc/sluggable.md index b55597dae..8cdfad30a 100644 --- a/doc/sluggable.md +++ b/doc/sluggable.md @@ -30,7 +30,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Basic usage [examples](#basic-examples) - Custom [transliterator](#transliterator) @@ -225,44 +224,6 @@ class Article } ``` - - -## Yaml mapping example - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - code: - type: string - length: 16 - slug: - type: string - length: 128 - gedmo: - slug: - separator: _ - style: camel - fields: - - title - - code - indexes: - search_idx: - columns: slug -``` - ## Xml mapping example @@ -827,7 +788,7 @@ class Company ``` For other mapping drivers see -[xml](../tests/Gedmo/Mapping/Driver/Xml/Gedmo.Tests.Mapping.Fixture.Xml.Sluggable.dcm.xml) or [yaml](../tests/Gedmo/Mapping/Driver/Yaml/Gedmo.Tests.Mapping.Fixture.Yaml.Category.dcm.yml) examples from tests +[xml](../tests/Gedmo/Mapping/Driver/Xml/Gedmo.Tests.Mapping.Fixture.Xml.Sluggable.dcm.xml) examples from tests And the example usage: diff --git a/doc/softdeleteable.md b/doc/softdeleteable.md index 38feb0b76..b61d33c07 100644 --- a/doc/softdeleteable.md +++ b/doc/softdeleteable.md @@ -17,7 +17,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Usage [examples](#usage) - Using [Traits](#traits) @@ -166,22 +165,6 @@ class Article } ``` - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - gedmo: - soft_deleteable: - field_name: deletedAt - time_aware: false - hard_delete: true id: id: type: integer diff --git a/doc/sortable.md b/doc/sortable.md index 6797bd0b2..f3e082bc5 100644 --- a/doc/sortable.md +++ b/doc/sortable.md @@ -13,7 +13,6 @@ Contents: - [Sortable mapping](#sortable-mapping) - [Annotations](#annotation-mapping-example) - [Attributes](#attribute-mapping-example) - - [Yaml](#yaml-mapping-example) - [Xml](#xml-mapping-example) - [Basic usage examples](#basic-usage-examples) - [Custom comparison method](#custom-comparison) @@ -180,34 +179,6 @@ class Item } ``` -### Yaml mapping example - -Yaml mapped Item: **/mapping/yaml/Entity.Item.dcm.yml** - -```yaml -Entity\Item: - type: entity - table: items - id: - id: - type: integer - generator: - strategy: AUTO - fields: - name: - type: string - length: 64 - position: - type: integer - gedmo: - - sortablePosition - category: - type: string - length: 128 - gedmo: - - sortableGroup -``` - ### Xml mapping example ```xml diff --git a/doc/timestampable.md b/doc/timestampable.md index 809074237..5f1adff89 100644 --- a/doc/timestampable.md +++ b/doc/timestampable.md @@ -20,7 +20,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) - Document [example](#document-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Advanced usage [examples](#advanced-examples) - Using [Traits](#traits) @@ -334,38 +333,6 @@ class Article Now on update and creation these annotated fields will be automatically updated - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -```yaml ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - created: - type: date - gedmo: - timestampable: - on: create - updated: - type: datetime - gedmo: - timestampable: - on: update -``` - ## Xml mapping example @@ -538,45 +505,6 @@ class Article } ``` -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -```yaml ---- -Entity\Article: - type: entity - table: articles - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - created: - type: date - gedmo: - timestampable: - on: create - updated: - type: datetime - gedmo: - timestampable: - on: update - published: - type: datetime - gedmo: - timestampable: - on: change - field: type.title - value: Published - manyToOne: - type: - targetEntity: Entity\Type - inversedBy: articles -``` - Now few operations to get it all done: ```php diff --git a/doc/translatable.md b/doc/translatable.md index b8ae88b16..e9db99c37 100644 --- a/doc/translatable.md +++ b/doc/translatable.md @@ -27,7 +27,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-domain-object) - Document [example](#document-domain-object) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Basic usage [examples](#basic-examples) - [Persisting](#multi-translations) multiple translations @@ -273,39 +272,6 @@ class Article implements Translatable } ``` - - -## Yaml mapping example - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\Article: - type: entity - table: articles - gedmo: - translation: - locale: localeField -# using specific personal translation class: -# entity: Translatable\Fixture\CategoryTranslation - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - gedmo: - - translatable - content: - type: text - gedmo: - - translatable -``` - ## Xml mapping example diff --git a/doc/tree.md b/doc/tree.md index 5409e8033..62325b90f 100644 --- a/doc/tree.md +++ b/doc/tree.md @@ -36,7 +36,6 @@ Content: - [Including](#including-extension) the extension - Tree [annotations](#annotations) - Entity [example](#entity-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Basic usage [examples](#basic-examples) - Build [html tree](#html-tree) @@ -209,68 +208,6 @@ optional parameter "separator" to define the separator used in the path. use the locking mechanism with MongoDB. It persists the lock time if a root node is locked (more on that in the corresponding section). - - -## Yaml mapping example - -Yaml mapped Category: **/mapping/yaml/Entity.Category.dcm.yml** - -``` ---- -Entity\Category: - type: entity - repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository - table: categories - gedmo: - tree: - type: nested - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - lft: - type: integer - gedmo: - - treeLeft - rgt: - type: integer - gedmo: - - treeRight - lvl: - type: integer - gedmo: - - treeLevel - manyToOne: - root: - targetEntity: Entity\Category - joinColumn: - name: tree_root - referencedColumnName: id - onDelete: CASCADE - gedmo: - - treeRoot - parent: - targetEntity: Entity\Category - inversedBy: children - joinColumn: - name: parent_id - referencedColumnName: id - onDelete: CASCADE - gedmo: - - treeParent - oneToMany: - children: - targetEntity: Entity\Category - mappedBy: parent - orderBy: - lft: ASC -``` - ## Xml mapping example @@ -811,71 +748,6 @@ class Category } ``` -Yaml mapped Category: **/mapping/yaml/Entity.Category.dcm.yml** - -``` ---- -Entity\Category: - type: entity - repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository - table: categories - gedmo: - tree: - type: nested - id: - id: - type: integer - generator: - strategy: AUTO - fields: - title: - type: string - length: 64 - gedmo: - - translatable - - sluggable - lft: - type: integer - gedmo: - - treeLeft - rgt: - type: integer - gedmo: - - treeRight - lvl: - type: integer - gedmo: - - treeLevel - slug: - type: string - length: 128 - gedmo: - - translatable - - slug - manyToOne: - root: - targetEntity: Entity\Category - joinColumn: - name: tree_root - referencedColumnName: id - onDelete: CASCADE - gedmo: - - treeRoot - parent: - targetEntity: Entity\Category - inversedBy: children - joinColumn: - name: parent_id - referencedColumnName: id - onDelete: CASCADE - gedmo: - - treeParent - oneToMany: - children: - targetEntity: Entity\Category - mappedBy: parent -``` - **Note:** If you use dql without object hydration, the nodes will not be translated, because the postLoad event never will be triggered diff --git a/doc/uploadable.md b/doc/uploadable.md index 3d2efca47..ab2b9e11f 100644 --- a/doc/uploadable.md +++ b/doc/uploadable.md @@ -15,7 +15,6 @@ Content: - [Including](#including-extension) the extension - Entity [example](#entity-mapping) -- [Yaml](#yaml-mapping) mapping example - [Xml](#xml-mapping) mapping example - Usage [examples](#usage) - [Using](#additional-usages) the extension to handle not only uploaded files @@ -253,50 +252,6 @@ class File } ``` - - - -## Yaml mapping example: - -Yaml mapped Article: **/mapping/yaml/Entity.Article.dcm.yml** - -``` ---- -Entity\File: - type: entity - table: files - gedmo: - uploadable: - allowOverwrite: true - appendNumber: true - path: '/my/path' - pathMethod: getPath - callback: callbackMethod - filenameGenerator: SHA1 - id: - id: - type: integer - generator: - strategy: AUTO - fields: - path: - type: string - gedmo: - - uploadableFilePath - name: - type: string - gedmo: - - uploadableFileName - mimeType: - type: string - gedmo: - - uploadableFileMimeType - size: - type: decimal - gedmo: - - uploadableFileSize -``` - ## Xml mapping example diff --git a/src/Blameable/Mapping/Driver/Yaml.php b/src/Blameable/Mapping/Driver/Yaml.php index 64f02b071..07e6fd528 100644 --- a/src/Blameable/Mapping/Driver/Yaml.php +++ b/src/Blameable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author David Buchmann + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/IpTraceable/Mapping/Driver/Yaml.php b/src/IpTraceable/Mapping/Driver/Yaml.php index 2a29dbd4e..ab39b9aa2 100644 --- a/src/IpTraceable/Mapping/Driver/Yaml.php +++ b/src/IpTraceable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Pierre-Charles Bertineau + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Loggable/Mapping/Driver/Yaml.php b/src/Loggable/Mapping/Driver/Yaml.php index 25096e90d..66547b518 100644 --- a/src/Loggable/Mapping/Driver/Yaml.php +++ b/src/Loggable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * * @author Boussekeyt Jules * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/ReferenceIntegrity/Mapping/Driver/Yaml.php b/src/ReferenceIntegrity/Mapping/Driver/Yaml.php index 030c5f132..cf0ab7f89 100644 --- a/src/ReferenceIntegrity/Mapping/Driver/Yaml.php +++ b/src/ReferenceIntegrity/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Evert Harmeling + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/References/Mapping/Driver/Yaml.php b/src/References/Mapping/Driver/Yaml.php index dc11aacbd..d1c81b378 100644 --- a/src/References/Mapping/Driver/Yaml.php +++ b/src/References/Mapping/Driver/Yaml.php @@ -15,6 +15,8 @@ /** * @author Gonzalo Vilaseca + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Sluggable/Mapping/Driver/Yaml.php b/src/Sluggable/Mapping/Driver/Yaml.php index 36535173b..efe9ae4c8 100644 --- a/src/Sluggable/Mapping/Driver/Yaml.php +++ b/src/Sluggable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/SoftDeleteable/Mapping/Driver/Yaml.php b/src/SoftDeleteable/Mapping/Driver/Yaml.php index 5c5d582ea..a2754bda6 100644 --- a/src/SoftDeleteable/Mapping/Driver/Yaml.php +++ b/src/SoftDeleteable/Mapping/Driver/Yaml.php @@ -22,6 +22,8 @@ * * @author Gustavo Falco * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Sortable/Mapping/Driver/Yaml.php b/src/Sortable/Mapping/Driver/Yaml.php index 7fedd2fd8..33a4c8191 100644 --- a/src/Sortable/Mapping/Driver/Yaml.php +++ b/src/Sortable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Lukas Botsch + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Timestampable/Mapping/Driver/Yaml.php b/src/Timestampable/Mapping/Driver/Yaml.php index 880ad118d..e6a44b379 100644 --- a/src/Timestampable/Mapping/Driver/Yaml.php +++ b/src/Timestampable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Translatable/Mapping/Driver/Yaml.php b/src/Translatable/Mapping/Driver/Yaml.php index e97268c6f..af43cc305 100644 --- a/src/Translatable/Mapping/Driver/Yaml.php +++ b/src/Translatable/Mapping/Driver/Yaml.php @@ -20,6 +20,8 @@ * extension. * * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Tree/Mapping/Driver/Yaml.php b/src/Tree/Mapping/Driver/Yaml.php index a9318da23..1f8cec0a6 100644 --- a/src/Tree/Mapping/Driver/Yaml.php +++ b/src/Tree/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * extension. * * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver { diff --git a/src/Uploadable/Mapping/Driver/Yaml.php b/src/Uploadable/Mapping/Driver/Yaml.php index e91319fea..0f7a3f134 100644 --- a/src/Uploadable/Mapping/Driver/Yaml.php +++ b/src/Uploadable/Mapping/Driver/Yaml.php @@ -21,6 +21,8 @@ * * @author Gustavo Falco * @author Gediminas Morkevicius + * + * @deprecated since gedmo/doctrine-extensions 3.x, will be removed in version 4.0. */ class Yaml extends File implements Driver {