Skip to content

Commit bbcb866

Browse files
committed
Merge branch '2.3' into 2.5
* 2.3: Fix spelling Changed to reference the correct twig template Fix PropertyAccessorBuilder usage
2 parents e5fed9d + 60c0c82 commit bbcb866

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/property_access/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
205205
$person = new Person();
206206

207207
// Enable magic __call
208-
$accessor = PropertyAccess::getPropertyAccessorBuilder()
208+
$accessor = PropertyAccess::createPropertyAccessorBuilder()
209209
->enableMagicCall()
210210
->getPropertyAccessor();
211211

@@ -301,7 +301,7 @@ see `Enable other Features`_.
301301
$person = new Person();
302302
303303
// Enable magic __call
304-
$accessor = PropertyAccess::getPropertyAccessorBuilder()
304+
$accessor = PropertyAccess::createPropertyAccessorBuilder()
305305
->enableMagicCall()
306306
->getPropertyAccessor();
307307

quick_tour/the_view.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ First, create an ``embedded.html.twig`` template:
157157
{# src/Acme/DemoBundle/Resources/views/Demo/embedded.html.twig #}
158158
Hello {{ name }}
159159
160-
And change the ``index.html.twig`` template to include it:
160+
And change the ``hello.html.twig`` template to include it:
161161

162162
.. code-block:: jinja
163163

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy