When using the Symfony2 plugin for PHPStorm, I sometimes see a Weak Route warning:
What does it mean?
Worked it out. The Symfony2 plugin parses the appDevDebugProjectContainer.php
file to get route and service information. However this file is only recompiled when the web page is loaded which means newly created routes are not included.
To get around this the plugin also parses the config files but this is not 100% reliable so routes discovered in this way are marked as "weak". Reloading the web page will make the warning go away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With