Skip to content

Commit

Permalink
Remove last remnants of the YAML driver (doctrine#10185)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 26, 2022
1 parent ba286de commit 4be38e2
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 220 deletions.
4 changes: 1 addition & 3 deletions docs/en/reference/advanced-configuration.rst
Expand Up @@ -111,14 +111,12 @@ Gets or sets the metadata driver implementation that is used by
Doctrine to acquire the object-relational metadata for your
classes.

There are currently 4 available implementations:
There are currently 3 available implementations:


- ``Doctrine\ORM\Mapping\Driver\AttributeDriver``
- ``Doctrine\ORM\Mapping\Driver\XmlDriver``
- ``Doctrine\ORM\Mapping\Driver\DriverChain``
- ``Doctrine\ORM\Mapping\Driver\YamlDriver`` (deprecated and will be
removed in ``doctrine/orm`` 3.0)

Throughout the most part of this manual the AttributeDriver is
used in the examples. For information on the usage of the
Expand Down
3 changes: 1 addition & 2 deletions docs/en/reference/basic-mapping.rst
Expand Up @@ -47,10 +47,9 @@ mapping metadata:
- :doc:`Attributes <attributes-reference>`
- :doc:`XML <xml-mapping>`
- :doc:`PHP code <php-mapping>`
- :doc:`YAML <yaml-mapping>` (deprecated and will be removed in ``doctrine/orm`` 3.0.)

This manual will usually show mapping metadata via attributes, though
many examples also show the equivalent configuration in YAML and XML.
many examples also show the equivalent configuration in XML.

.. note::

Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/events.rst
Expand Up @@ -906,7 +906,7 @@ Load ClassMetadata Event

``loadClassMetadata`` - The ``loadClassMetadata`` event occurs after the
mapping metadata for a class has been loaded from a mapping source
(attributes/xml/yaml) in to a ``Doctrine\ORM\Mapping\ClassMetadata`` instance.
(attributes/xml) in to a ``Doctrine\ORM\Mapping\ClassMetadata`` instance.
You can hook in to this process and manipulate the instance.
This event is not a lifecycle callback.

Expand Down
158 changes: 0 additions & 158 deletions docs/en/reference/yaml-mapping.rst

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 4be38e2

Please sign in to comment.