Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #22921 [FrameworkBundle] Only override getProjectDir if it exists…
… in the kernel (aschempp) This PR was merged into the 3.3 branch. Discussion ---------- [FrameworkBundle] Only override getProjectDir if it exists in the kernel | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22872, #2289 | License | MIT | Doc PR | - As discussed with @nicolas-grekas, the `getProjectDir` method does not belong to `KernelInterface` so it can't just be called. I think we should also not add the method to the kernel if it does not exist in the parent, because we would not have a useful value to return. Commits ------- c7ed08e Only override getProjectDir if it exists in the kernel
- Loading branch information