-
Notifications
You must be signed in to change notification settings - Fork 80
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
Implement CacheLifetimeBehaviourInterface in ArticleBridge #621
Implement CacheLifetimeBehaviourInterface in ArticleBridge #621
Conversation
46dc671
to
7cbe015
Compare
|
nope, therefore I added the fallback interface here |
Co-authored-by: Alexander Schranz <[email protected]>
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.
those type hints should be allowed as well, right?
Co-authored-by: Alexander Schranz <[email protected]>
The php-cs fixer fails we did fix this issue by adopting the php-cs fixer config in our projects to this: 'phpdoc_to_comment' => [
'ignored_tags' => ['todo', 'var', 'see', 'phpstan-ignore-next-line'],
], |
What's in this PR?
Implement CacheLifetimeBehaviourInterface in ArticleBridge
Why?
This allows Sulu's
CacheLifetimeEnhancer
service to work withArticleBridge
objects. The reason for this is, that theHeadlessWebsiteController
can then be used to render articles.