DEV Community

Discussion on: Make sense of PHP interfaces

Collapse
 
vlasales profile image
Vlastimil Pospichal

I don't like the suffix "Interface" in its name. Instead, I use the adjective property that the related object must have. This is good for understanding the role of the interface.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
vlasales profile image
Vlastimil Pospichal

I don't use Symfony, I am not limited by this choice.

For the consistency you may use proxies.

Collapse
 
bam92 profile image
Abel Lifaefi Mbula

Using "Interface" is just a tautology. It's not important at all although many devs/compagnies use it. I find useful arguments for not using that suffix in this post