Skip to content

Update caching.rst #7064

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 1 commit into from
Nov 10, 2016
Merged

Update caching.rst #7064

merged 1 commit into from
Nov 10, 2016

Conversation

ReDnAxE
Copy link
Contributor

@ReDnAxE ReDnAxE commented Oct 17, 2016

Updating doc for this PR Making cache PSR6 compliant : #19741

@xabbuh xabbuh added the On hold label Oct 17, 2016
@xabbuh xabbuh added this to the 3.2 milestone Oct 17, 2016
fabpot added a commit to symfony/symfony that referenced this pull request Oct 17, 2016
…andre GESLIN)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[ExpressionLanguage] Making cache PSR6 compliant

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | [#7064](symfony/symfony-docs#7064)

Adding Cache component compatible ParserCache in ExpressionLanguage component.
I hope you will find it useful :) I would like to make tests also

Commits
-------

a7352ff [ExpressionLanguage] Making cache PSR6 compliant
symfony-splitter pushed a commit to symfony/doctrine-bridge that referenced this pull request Oct 17, 2016
…andre GESLIN)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[ExpressionLanguage] Making cache PSR6 compliant

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | [#7064](symfony/symfony-docs#7064)

Adding Cache component compatible ParserCache in ExpressionLanguage component.
I hope you will find it useful :) I would like to make tests also

Commits
-------

a7352ff [ExpressionLanguage] Making cache PSR6 compliant
@@ -39,12 +37,6 @@ in the object using the constructor::
$cache = new MyDatabaseParserCache(...);
$language = new ExpressionLanguage($cache);
Copy link
Member

Choose a reason for hiding this comment

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

Can we maybe enhance this a bit, to show we're really doing PSR-6 here?

E.g. by showing something like:

use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Cache\RedisAdapter;

$cache = new RedisAdapter(...);
$language = new ExpressionLanguage($cache);

Then, we can add a small "seealso" box pointing to the cache component:

.. seealso::

    See the :doc:`/components/cache` documentation for more information about
    available cache adapters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your help, I agree, I'll do it as soon as possible :)

@wouterj wouterj removed the On hold label Nov 8, 2016
@wouterj
Copy link
Member

wouterj commented Nov 8, 2016

The feature is now merged, congratz @ReDnAxE!

Thanks a lot for submitting a doc PR alongside your code PR. I've suggest some changes. If you have some time, please apply the suggestions if you agree with them. Otherwise, you can just comment and we'll finish this PR so it's merged before the 3.2 stable release.

status: needs work

[ExpressionLanguage] Making cache PSR6 compliant
@ReDnAxE
Copy link
Contributor Author

ReDnAxE commented Nov 9, 2016

I just applied your recommendations ^^, you think it is enough ?

status: needs review

@wouterj
Copy link
Member

wouterj commented Nov 9, 2016

👍
status: reviewed

I think it's perfect now. Thanks!

@javiereguiluz
Copy link
Member

👍

@wouterj wouterj merged commit f03f2f3 into symfony:master Nov 10, 2016
wouterj added a commit that referenced this pull request Nov 10, 2016
This PR was merged into the master branch.

Discussion
----------

Update caching.rst

Updating doc for this PR Making cache PSR6 compliant : [#19741](symfony/symfony#19741)

Commits
-------

f03f2f3 Update caching.rst
@wouterj
Copy link
Member

wouterj commented Nov 10, 2016

Thanks for documenting the feature you submitted! I've merged this into the docs now and made some very minor changes in 31939d5 Hope to see you back in the future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants