You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this PR #33285 the second and third argument of FileLocator::__construct were removed.
Before (<= v4.4) the lookup for resources was done from 2 paths.
/Users/path/src
/Users/path/src/Resources
+ current path /Users/path/src/Home/Config/routes
Now (v5) the $paths property in FileLocator is empty so only current path is applied.
The resource is atemped to be resolved only as /Users/path/src/Home/Config/routes/../src/Home/Application/Controller for my definition <import resource="../src/Home/Application/Controller" prefix="/home" type="annotation" />
But for that cannot work. Is the documentation outdated and this is the correct behaviour or the root_dir should have been replaced by project_dir instead and this is a bug? Thanks-