We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e9f068 + b998a55 commit 404db1aCopy full SHA for 404db1a
reference/formats/expression_language.rst
@@ -171,7 +171,7 @@ This also works with class constants::
171
}
172
173
var_dump($expressionLanguage->evaluate(
174
- 'constant("App\\\SomeNamespace\\\Foo::API_ENDPOINT")'
+ 'constant("App\\\\SomeNamespace\\\\Foo::API_ENDPOINT")'
175
));
176
177
This will print out ``/api``.
@@ -189,7 +189,7 @@ This function will return the case of an enumeration::
189
190
191
var_dump(App\Enum\Foo::Bar === $expressionLanguage->evaluate(
192
- 'enum("App\\\SomeNamespace\\\Foo::Bar")'
+ 'enum("App\\\\SomeNamespace\\\\Foo::Bar")'
193
194
195
This will print out ``true``.
0 commit comments