Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8c84210

Browse files
committed
improving formulation
1 parent 6216fa7 commit 8c84210

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

bundles/phpcr_odm/events.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ use this configuration:
8787
subscriber with the names of the subscribed events, just as when using an
8888
event listener.
8989

90-
More information with PHP code examples for the doctrine event system
91-
integration is in the `Symfony cookbook entry on ORM events`_.
90+
You can find more information and examples of the doctrine event system
91+
in "`How to Register Event Listeners and Subscribers`_" of the core documentation.
9292

9393
.. _`Doctrine PHPCR-ODM event system documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/events.html
9494
.. _`Symfony event subscriber`: http://symfony.com/doc/master/components/event_dispatcher/introduction.html#using-event-subscribers
9595
.. _`Doctrine ORM events`: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
96-
.. _`Symfony cookbook entry on ORM events`: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
96+
.. _`How to Register Event Listeners and Subscribers`: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html

reference/configuration/phpcr_odm.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,9 @@ not configure anything here, the ODM services will not be loaded.
617617
configuration_id
618618
""""""""""""""""
619619

620-
@lsmith77 ?
620+
**type**: ``string``, **default**: ``doctrine_phpcr.odm.configuration``
621+
622+
The service to use as base for building the PHPCR-ODM configuration.
621623

622624
auto_mapping
623625
""""""""""""
@@ -661,7 +663,7 @@ names without any actual configuration.
661663
metadata_cache_driver
662664
"""""""""""""""""""""
663665

664-
@lsmith77 ?
666+
Configure a cache driver for the Doctrine metadata. This is the same as for `Doctrine ORM`_.
665667

666668
General Settings
667669
~~~~~~~~~~~~~~~~
@@ -716,3 +718,4 @@ For tuning the output of the ``doctrine:phpcr:dump`` command.
716718
.. _`the midgard/phpcr package`: http://packagist.org/packages/midgard/phpcr
717719
.. _`the getting started document`: http://midgard-project.org/phpcr/#getting_started
718720
.. _`official Midgard PHPCR documentation`: http://midgard-project.org/phpcr/
721+
.. _`Doctrine ORM`: http://symfony.com/doc/current/reference/configuration/doctrine.html#caching-drivers

0 commit comments

Comments
 (0)