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

Commit 1b2c353

Browse files
committed
fixing a few missed renames of RouteAwareInterface => RouteReferrersInterface
1 parent 166a05f commit 1b2c353

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ route generation, so you can use the default methods for generating your URLs
413413
with a few added possibilities:
414414

415415
* Pass an implementation of either ``RouteObjectInterface`` or
416-
``RouteAwareInterface`` as the ``name`` parameter
416+
``RouteReferrersInterface`` as the ``name`` parameter
417417
* Alternatively, supply an implementation of ``ContentRepositoryInterface`` and
418418
the id of the model instance as parameter ``content_id``
419419

book/static_content.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tree-like hierarchy. It also includes a Block reference (more on that later).
2828
The two implemented interfaces reveal two of the features included in this
2929
implementation:
3030

31-
* ``RouteAwareInterface`` means that the content has associated Routes.
31+
* ``RouteReferrersInterface`` means that the content has associated Routes.
3232
* ``PublishWorkflowInterface`` means that the content has publishing and
3333
unpublishing dates, which will be handled by Symfony CMF's core to
3434
determine whether or not to display the content from ``StaticContent``.

bundles/routing_auto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ content_object (base provider)
191191
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192192

193193
The content object provider will try and provide a path from an object
194-
implementing ``RouteAwareInterface`` provided by a designated method on the
194+
implementing ``RouteReferrersInterface`` provided by a designated method on the
195195
content document. For example, if you have a ``Post`` class, which has a
196196
``getBlog`` method, using this provider you can tell the ``Post`` auto route
197197
to use the route of the blog as a base.

cookbook/using_blockbundle_and_contentbundle.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,12 +676,12 @@ Make sure the CMF BlockBundle is installed and loaded in ``app/AppKernel.php``::
676676

677677
new Symfony\Cmf\Bundle\BlockBundle\CmfBlockBundle(),
678678

679-
RouteAwareInterface not found
679+
RouteReferrersInterface not found
680680
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
681681

682682
.. code-block:: text
683683
684-
Fatal error: Interface 'Symfony\Cmf\Component\Routing\RouteAwareInterface' not found in /var/www/your-site/vendor/symfony-cmf/content-bundle/Symfony/Cmf/Bundle/ContentBundle/Document/StaticContent.php on line 15
684+
Fatal error: Interface 'Symfony\Cmf\Component\Routing\RouteReferrersInterface' not found in /var/www/your-site/vendor/symfony-cmf/content-bundle/Symfony/Cmf/Bundle/ContentBundle/Document/StaticContent.php on line 15
685685
686686
If you are using ContentBundle, make sure you have also installed the RoutingBundle:
687687

0 commit comments

Comments
 (0)