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

Mark methods and classes as internal #1960

Merged
merged 1 commit into from
Mar 14, 2019

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented Feb 19, 2019

See #1931 for details. I've added a note that we can also remove internal stuff in minor releases as I saw a number of methods that should not be added in the first place and I thought that we could remove them in 2.1 (such as HydratorFactory::setUnitOfWork which should be passed in ctor).

@malarzm malarzm added the Task label Feb 19, 2019
@malarzm malarzm added this to the 2.0.0-Beta2 milestone Feb 19, 2019
@malarzm malarzm requested a review from alcaeus February 19, 2019 20:05
@malarzm
Copy link
Member Author

malarzm commented Feb 19, 2019

This does not include adding final as it'll be easier to provide a deprecation notices for 1.3 basing on PR doing only final.

@@ -71,14 +71,12 @@ public function isDirty();
public function setDirty($dirty);

/**
* INTERNAL:
Copy link
Member Author

Choose a reason for hiding this comment

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

Entire interface is marked as internal

Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Great work @malarzm!

@alcaeus alcaeus merged commit 62ca36c into doctrine:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants