Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Deprecate support for absolute path in templating #17999
Absolute paths seem like an awfully limiting choice. Using the "Symfony syntax" allows for both core and users to change defaults in directory structure in future releases painlessly, as it wouldn't affect the actual callouts within templates. It's also shorter to type. ;-)
I'm not too familiar with the handling of template resolution and loading within the framework, but based on my experience with Symfony elsewhere, I'm confident those who want absolute paths can easily achieve such with a custom loader implementation.
…akzal) This PR was merged into the 3.1-dev branch. Discussion ---------- [FrameworkBundle] Deprecate absolute template paths | Q | A | ------------- | --- | Branch | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #17999 | License | MIT | Doc PR | - Commits ------- 85a9d67 [FrameworkBundle] Deprecate absolute template paths