After the latest update of PHP Intelephense that I get today, the intelephense keep showing an error for an undefined symbol for my route (and other class too), there is no
1.3.3 fixed it. Just update your extension.
If you see this immediately after adding a new Vendor class, be sure to run the VScode command (control-shift-P) Index Workspace
To those would prefer to keep it simple, stupid; If you rather get rid of the notices instead of installing a helper or downgrading, simply disable the error in your settings.json
by adding this:
"intelephense.diagnostics.undefinedTypes": false