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

Would like to see Interface and Trait suffixes for PHP #52

Open
ShawnMcCool opened this issue Apr 29, 2014 · 2 comments
Open

Would like to see Interface and Trait suffixes for PHP #52

ShawnMcCool opened this issue Apr 29, 2014 · 2 comments

Comments

@ShawnMcCool
Copy link

In PHP some people do:

interface CommandBus

and some people do:

interface CommandBusInterface

Like in C# you might use ICommandBus.

Similarly you have EventGeneratorTrait and EventGenerator for traits.

@outsideris
Copy link
Owner

@ShawnMcCool
You mean you wanna see whether people use Interface or Trait postfix in variable name for Interface or Trait or not?

@outsideris outsideris self-assigned this Apr 30, 2014
@ShawnMcCool
Copy link
Author

Correct. That's what I'm looking for. There's sort of a raging debate in PHP about this convention.

@outsideris outsideris removed their assignment Mar 1, 2018
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