Closed luca-rath closed 2 years ago
This should target a new Okay 2.5 is not released yet but it need require 2.6
branch as it will require sulu/sulu 2.6
.sulu/sulu:^2.6@dev
currently.
~This should target a new
2.6
branch as it will requiresulu/sulu 2.6
.~ Okay 2.5 is not released yet but it need requiresulu/sulu:^2.6@dev
currently.
nope, therefore I added the fallback interface here
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.