-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[WIP] Add docs for ExpressionLanguage component #3044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.. index:: | ||
single: Expressions | ||
Single: Components; Expression Language | ||
|
||
The ExpressionLanguage Component | ||
================================= | ||
|
||
The ExpressionLanguage component provides an engine that can compile and | ||
evaluate expressions. An expression is a one-liner that returns a value | ||
(mostly, but not limited to, Booleans). | ||
|
||
.. versionadded:: 2.4 | ||
The ExpressionLanguage Component was new in Symfony 2.4. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
Installation | ||
------------ | ||
|
||
You can install the component in 2 different ways: | ||
|
||
* Use the official Git repository (https://github.com/symfony/ExpressionLanguage); | ||
* :doc:`Install it via Composer </components/using_components>` (``symfony/expression-language`` on `Packagist`_). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should document Composer first as it is the recommended way There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like it, but this means we should change it in all component docs. I'll open a ticket for it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We changed the order of these recently |
||
|
||
.. _Packagist: https://packagist.org/packages/symfony/expression-language |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ExpressionLanguage
orExpression Language
? For example, I usedClass Loader
and notClassLoader
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer ExpressionLanguage (that's also the name used in the README)