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

Commit 4b0c4cf

Browse files
committed
1 parent 35bb75c commit 4b0c4cf

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

bundles/menu.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ provide your own implementations, this bundle also depends on:
2929
is not loaded. See the
3030
:doc:`documentation of the cmf routing bundle <routing>` for more information.
3131
* :doc:`PHPCR-ODM <phpcr_odm>` - to load route documents from the content
32-
repository when using the ``PHPCRMenuProvider``.
32+
repository when using the ``PhpcrMenuProvider``.
3333

3434
Configuration
3535
-------------
@@ -94,9 +94,9 @@ Menu Provider
9494

9595
A menu provider is responsible to load a menu when it is requested. KnpMenu
9696
supports having several providers. The CmfMenuBundle provides the
97-
``PHPCRMenuProvider`` to load menu items from PHPCR-ODM.
97+
``PhpcrMenuProvider`` to load menu items from PHPCR-ODM.
9898

99-
Every menu has a name and is loaded by that name. The ``PHPCRMenuProvider``
99+
Every menu has a name and is loaded by that name. The ``PhpcrMenuProvider``
100100
locates menus by looking at ``persistence.phpcr.menu_basepath``/``<menuname>``.
101101
You can use custom document classes for menu nodes if needed, as long as they
102102
implement ``Knp\Menu\NodeInterface`` to integrate with KnpMenuBundle. The
@@ -107,7 +107,7 @@ default ``MenuNode`` class discards children that do not implement the
107107

108108
There is currently no support for Doctrine ORM or other persistence
109109
managers. This is not by design, but only because nobody built that yet.
110-
We would be glad for a pull request refactoring ``PHPCRMenuProvider`` into
110+
We would be glad for a pull request refactoring ``PhpcrMenuProvider`` into
111111
a base class suitable for all doctrine implementations, and storage
112112
specific providers.
113113

getting_started/menu.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ this specific section.
5555
The Provider
5656
~~~~~~~~~~~~
5757

58-
The core of the MenuBundle is ``PHPCRMenuProvider``, a
58+
The core of the MenuBundle is ``PhpcrMenuProvider``, a
5959
``MenuProviderInterface`` implementation that's responsible for dynamically
6060
loading menus from a PHPCR database. The default provider service is
6161
configured with a ``menu_basepath`` to know where in the PHPCR tree it will
6262
find menus. The menu ``name`` is given when rendering the menu and must be a
63-
direct child of the menu base path. This allows the ``PHPCRMenuProvider`` to
63+
direct child of the menu base path. This allows the ``PhpcrMenuProvider`` to
6464
handle several menu hierarchies using a single storage mechanism.
6565

6666
To give a concrete example, if we have the configuration as given below and
@@ -91,7 +91,7 @@ render the menu ``simple``, the menu root node must be stored at
9191
'menu_basepath' => '/cms/menu',
9292
));
9393
94-
If you need multiple menu roots, you can create further PHPCRMenuProvider
94+
If you need multiple menu roots, you can create further ``PhpcrMenuProvider``
9595
instances and register them with KnpMenu - see the CMF MenuBundle
9696
``DependencyInjection`` code for the details.
9797

getting_started/simplecms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ can be used to generate a ``MenuItem`` that will, in turn, be rendered into HTML
304304
menus.
305305

306306
To do so, the default ``MenuBundle`` mechanisms are used, only a custom
307-
``basepath`` is provided to the ``PHPCRMenuProvider`` instance. This is
307+
``basepath`` is provided to the ``PhpcrMenuProvider`` instance. This is
308308
defined in the SimpleCMSBundle configuration options, and used when handling
309309
content storage to support functionality as described in :doc:`menu`
310310
documentation. This parameter is optional, and can be configured as follows:

0 commit comments

Comments
 (0)