Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An interesting feature of UML class diagrams in PhpStorm is that when our code is under source control, it allows us to evaluate how our code changes affect the application model. Whenever changes have been made, use the Diagrams | Show Changes context menu (or Ctrl+Alt+Shift+D / Cmd+Alt+Shift+D). This will open up a visual representation of code that has been modified.

In the above example we see that in the UsersController a new function named post() has been added (green). The get() method has been changed (blue). We've also added a variable to the ApiControllerBase.
As always, we appreciate your feedback in the comments below or in our forums!
Develop with pleasure!
-- JetBrains Web IDE Team