Skip to content
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

Merged
merged 1 commit into from Apr 3, 2017

Conversation

lzadravec
Copy link
Contributor

@lzadravec lzadravec commented Mar 21, 2017

Q A
Fixed tickets fixes #63
Related issues/PRs -
License GPL-3.0+
Documentation License CC BY-SA 4.0

What's in this PR?

Add registry service for usage in other Symfony bundles

@QuingKhaos QuingKhaos changed the title 63 add registry service Add registry service Mar 21, 2017
Copy link
Member

@QuingKhaos QuingKhaos left a 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.

@@ -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">
Copy link
Member

Choose a reason for hiding this comment

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

Why lazy?

@QuingKhaos QuingKhaos added this to the 1.0.0 milestone Mar 21, 2017
@QuingKhaos QuingKhaos changed the title Add registry service 63 add registry service Mar 21, 2017
@QuingKhaos QuingKhaos changed the title 63 add registry service Register TYPO3 registry as lazy service Mar 21, 2017
Copy link
Member

@QuingKhaos QuingKhaos left a 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)

@lzadravec
Copy link
Contributor Author

Can please review my latest changes and eventually approve them. Thank you very much

@QuingKhaos
Copy link
Member

QuingKhaos commented Apr 3, 2017

@lzadravec P.S.: For the next time, your commit message should be more clear like Register TYPO3 registry as new service. So describe what is new/what has changed. Not what you have done.

@QuingKhaos QuingKhaos merged commit 9a59546 into Bartacus:master Apr 3, 2017
QuingKhaos added a commit that referenced this pull request Apr 3, 2017
9a59546 add typo3 registry class to services and extend documentation (Leon Zadravec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add typo3 service registry as service
2 participants