Skip to content

Conversation

@rejinka
Copy link

@rejinka rejinka commented Oct 2, 2018

The CachePlugin was always able to have a lifetime = null, so this should also be used. I'm not completely sure, whether this is a bug, which should be fixed in other branches, or whether it is a new feature.

Use-Case is simple as that: I want to configure my cache completely independent of this bundle and only let the bundle know the service id.

@Nyholm
Copy link
Member

Nyholm commented Oct 2, 2018

I think you are correct. @samybasset what do you think?

Copy link
Member

@norkunas norkunas left a comment

Choose a reason for hiding this comment

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

Looks good, we should merge this after requested changes.

/**
* @test
*/
public function cache_lifetime_can_be_null_in_order_to_let_this_detail_handle_the_cache_service()
Copy link
Member

Choose a reason for hiding this comment

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

Test name should be consistent with others :)

$this->assertInstanceOf(CachePlugin::class, $plugins[0]);
}

/**
Copy link
Member

Choose a reason for hiding this comment

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

Annotation should be removed

@rejinka
Copy link
Author

rejinka commented Sep 20, 2019

Hm, i already forgot about this PR, sorry

@norkunas
Copy link
Member

No problem :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants