Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

craigivemy's avatar

Key for PHP Design Patterns UML Diagrams

I'm trying to convert a couple of old PHP projects to use OO design patterns rather than just random procedural code, and am referring to PHP Design Patterns found here - https://designpatternsphp.readthedocs.io/en/latest/README.html

However, I can't seem to find a key for the symbols anywhere.

Does one exist?

Thanks

0 likes
3 replies
devfrey's avatar

What 'symbols' are you referring to?

craigivemy's avatar

@devfrey if you click into one of the patterns, there are symbols for every method/property/constant.

Some are obvious (ie unlocked green padlock clearly depicts a public method or property, others less so (three quarter moon 'm' for example).

devfrey's avatar

I can't find any documentation for it, but most of them should make sense. Especially given the code examples.

The incomplete circle refers to an abstract method (or any method in an interface).

Please or to participate in this conversation.