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
Register TYPO3 registry as lazy service #64
Conversation
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.
Please reword your commit message to be a good commit message. The 63 in the beginning has no meaning in the commit log. A good commit message would be Register TYPO3 registry as lazy service
Btw. the pull request template is not for fun. You're not supposed to remove headers or sections from it. And if the syntax for fixed tickets
is fixes #issuenum
, not simply issuenum
. The correct references are important.
Resources/config/typo3.xml
Outdated
@@ -82,5 +82,10 @@ | |||
<service id="typo3.page_repository" class="TYPO3\CMS\Frontend\Page\PageRepository"> | |||
<factory service="typo3" method="getPageRepository" /> | |||
</service> | |||
|
|||
<service id="typo3.registry" class="TYPO3\CMS\Core\Registry" lazy="true"> |
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.
Why lazy?
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.
Please add the registry to the documentation in Resources/doc/service_bridge.rst
(can be a new commit)
Can please review my latest changes and eventually approve them. Thank you very much |
06ec021
to
9a59546
Compare
@lzadravec P.S.: For the next time, your commit message should be more clear like |
9a59546 add typo3 registry class to services and extend documentation (Leon Zadravec)
What's in this PR?
Add registry service for usage in other Symfony bundles