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

Interface for things with public/protected/private visibility #457

Open
legoktm opened this issue Dec 31, 2017 · 1 comment
Open

Interface for things with public/protected/private visibility #457

legoktm opened this issue Dec 31, 2017 · 1 comment

Comments

@legoktm
Copy link

legoktm commented Dec 31, 2017

First, thanks for the awesome library, it worked pretty well for my needs, and the documentation was great. :-)

I was doing comparisons of visibility ([[https://gitlab.com/legoktm/semver-checker/blob/master/src/Parser/ClassTracker.php#L265|code]]), and ran into multiple things that had isPublic(), isProtected(), and isPrivate() functions: class methods, properties, and class constants. Would an interface for those three functions make sense? I would find it useful at least.

@carusogabriel
Copy link
Contributor

@legoktm Could you elaborate how would you use it?

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

No branches or pull requests

2 participants