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

[Cache] Create NullAdapter to disable cache if needed#18825

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:masterfromtgalopin:null-adapter
May 26, 2016

Conversation

@tgalopin
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?WIP
Fixed tickets-
LicenseMIT
Doc PR-

Tthis PR aims to implement a Symfony Cache Null adapter able to disable cache if needed (very useful in tests or in the case of the fallback of the OpCacheAdapter for instance).

This PR is required by#18823 and#18533

*/
class NullAdapter implements AdapterInterface
{
private $createCacheItem;
Copy link
Contributor

Choose a reason for hiding this comment

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

phpdoc missing

Copy link
Member

Choose a reason for hiding this comment

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

We don't add phpdoc on private properties when IDEs are able to infer the type from the constructor (which is the case here)

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for your feedback 👍

@nicolas-grekas
Copy link
Member

👍

@tgalopin
Copy link
ContributorAuthor

I added the LF.

@nicolas-grekas
Copy link
Member

Thank you@tgalopin.

@nicolas-grekasnicolas-grekas merged commit0519d22 intosymfony:masterMay 26, 2016
nicolas-grekas added a commit that referenced this pull requestMay 26, 2016
…(tgalopin)This PR was merged into the 3.2-dev branch.Discussion----------[Cache] Create NullAdapter to disable cache if needed| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Tthis PR aims to implement a Symfony Cache Null adapter able to disable cache if needed (very useful in tests or in the case of the fallback of the OpCacheAdapter for instance).This PR is required by#18823 and#18533Commits-------0519d22 [Cache] Create NullAdapter to disable cache if needed
fabpot added a commit that referenced this pull requestJun 28, 2016
…P 7.0 (tgalopin)This PR was merged into the 3.2-dev branch.Discussion----------[Cache] Add PhpArrayAdapter to use shared memory on PHP 7.0| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Depends on#18825This PR aims to implement a Symfony Cache adapter able to build files optimized for OPCache memory storage. Any kind of static data that can be warmed up is a candidate for OPcache storage.This PR is limited to the implementation of the Adapter. It's usage in the annotations caching system is implemented in the PR#18533. The aim is also to use this adapter in other contexts (validator, serializer, ...).Commits-------28a40d2 [Cache] Add PhpArrayAdapter to use shared memory on PHP 7.0+
fabpot added a commit that referenced this pull requestJul 30, 2016
…e warmer for annotations (tgalopin)This PR was squashed before being merged into the 3.2-dev branch (closes#18533).Discussion----------[FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Depends on#18825 and#18823This PR implements the usage of the new OpCacheAdapter in the annotations caching system. The idea to use this adapter as much as possible in Symfony (validator, serializer, ...). These other implementations will be the object of different PRs.Commits-------f950a2b [FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations
symfony-splitter pushed a commit to symfony/cache that referenced this pull requestJul 30, 2016
…e warmer for annotations (tgalopin)This PR was squashed before being merged into the 3.2-dev branch (closes #18533).Discussion----------[FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Depends onsymfony/symfony#18825 andsymfony/symfony#18823This PR implements the usage of the new OpCacheAdapter in the annotations caching system. The idea to use this adapter as much as possible in Symfony (validator, serializer, ...). These other implementations will be the object of different PRs.Commits-------f950a2b [FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations
symfony-splitter pushed a commit to symfony/http-kernel that referenced this pull requestJul 30, 2016
…e warmer for annotations (tgalopin)This PR was squashed before being merged into the 3.2-dev branch (closes #18533).Discussion----------[FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Depends onsymfony/symfony#18825 andsymfony/symfony#18823This PR implements the usage of the new OpCacheAdapter in the annotations caching system. The idea to use this adapter as much as possible in Symfony (validator, serializer, ...). These other implementations will be the object of different PRs.Commits-------f950a2b [FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull requestJul 30, 2016
…e warmer for annotations (tgalopin)This PR was squashed before being merged into the 3.2-dev branch (closes #18533).Discussion----------[FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | WIP| Fixed tickets | -| License       | MIT| Doc PR        | -Depends onsymfony/symfony#18825 andsymfony/symfony#18823This PR implements the usage of the new OpCacheAdapter in the annotations caching system. The idea to use this adapter as much as possible in Symfony (validator, serializer, ...). These other implementations will be the object of different PRs.Commits-------f950a2b [FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations
@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@tgalopin@nicolas-grekas@stof@OskarStark@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp