Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e09a0b

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update extending.rst Update example to use tagged_locator helper function
2 parents 84e6d24 + ca68dbc commit 4e09a0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/expression_language/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Example::
4949

5050
In addition to the custom function arguments, the **evaluator** is passed an
5151
``arguments`` variable as its first argument, which is equal to the second
52-
argument of ``compile()`` (e.g. the "values" when evaluating an expression).
52+
argument of ``evaluate()`` (e.g. the "values" when evaluating an expression).
5353

5454
.. _components-expression-language-provider:
5555

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ attribute to the locator service defining the name of this custom method:
544544
return function(ContainerConfigurator $configurator) {
545545
$configurator->services()
546546
->set(App\HandlerCollection::class)
547-
->args([service_locator(tagged('app.handler', null, 'myOwnMethodName'))])
547+
->args([tagged_locator('app.handler', null, 'myOwnMethodName')])
548548
;
549549
};
550550

0 commit comments

Comments
 (0)