Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd86e542

Browse files
committed
[symfony#3315] Adding a little bit more information about the $arguments argument
1 parentabe419b commitd86e542

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎components/expression_language/extending.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ This method has 3 arguments:
5050
5151
echo $language->evaluate('lowercase("HELLO")');
5252
53-
This will print ``hello``.
53+
This will print ``hello``. Both the **compiler** and **evaluator** are passed
54+
an ``arguments`` variable as their first argument, which is equal to the
55+
second argument to ``evaluate()`` or ``compile()`` (e.g. the "values" when
56+
evaluating or the "names" if compiling).
5457

5558
Creating a new ExpressionLanguage Class
5659
---------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp