Created
January 28, 2016 14:14
-
-
Save basz/20e8e34a4917456f376b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private $property; | |
| public function method() | |
| { | |
| $token = new self(); | |
| $token->property = 'something'; // feels like a violation of the private accessor, but indeed it is not.... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment