8000 [WIP] Add docs for ExpressionLanguage component by wouterj · Pull Request #3044 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[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

Merged
merged 5 commits into from
Nov 16, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bootstraps intro
  • Loading branch information
wouterj committed Oct 6, 2013
commit 27822ffabb5eb94b9b8673a4064365b32003a1d8
23 changes: 23 additions & 0 deletions components/expression_language/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.. index::
single: Expressions
Single: Components; Expression Language

The ExpressionLanguage Component
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExpressionLanguage or Expression Language? For example, I used Class Loader and not ClassLoader.

Copy link
Member Author

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)

=================================

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

component should be lowercased


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`_).
< 8000 div data-view-component="true">
Copy link
Member

Choose a reason for hiding this comment

The 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

Copy link
Member Author

Choose a reason for hiding this comment

The 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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The 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
2 changes: 2 additions & 0 deletions components/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@

* :doc:`/components/expression_language/index`

* :doc:`/components/expression_language/introduction`

* **Filesystem**

* :doc:`/components/filesystem`
< 3B69 tool-tip id="tooltip-2d42de8c-5241-4161-bcb0-7988fe347f39" for="expand-down-link--diff-cea45d657527ecfc7f82938911d64fd0152de858f276074713aecc4d680d629b" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down
0