Skip to content

The "protected" keyword should be used in order to subclasses to use … #309

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

Merged
merged 3 commits into from
Dec 11, 2017

Conversation

krmgns
Copy link
Contributor

@krmgns krmgns commented Dec 9, 2017

…that property. Otherwise, saying "$this->text = $text" is not making sense for extender objects.

Kerem Güneş added 3 commits December 9, 2017 21:21
…that property. Otherwise, saying "$this->text = $text" is not making sense for extender objects.
@piotrgradzinski piotrgradzinski merged commit 94d055c into DesignPatternsPHP:master Dec 11, 2017
@piotrgradzinski
Copy link
Contributor

Good catch @K-gun! Thanks for fixing it and congrats on your first Design Patterns PHP contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants