From: Fabien Potencier Date: Sun, 25 May 2014 23:56:03 +0000 (+0200) Subject: minor #1403 Refactor namespace/shortname parsing into own method (anlutro) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e6156e2e4d4bd11bb13f5152ffac269f47eee15c;p=web%2Fkonrad%2Ftwig.git minor #1403 Refactor namespace/shortname parsing into own method (anlutro) This PR was merged into the 1.15-dev branch. Discussion ---------- Refactor namespace/shortname parsing into own method I've written a custom file loader in order for the namespace syntax to match across different resource loading classes. To achieve this I have to replace the loadTemplate method, which includes a lot of logic. While this logic may not be likely to change anytime soon, I'd feel better if the namespace parsing was extracted into its own method so I can replace just that bit. Commits ------- 9dd3bb8 Refactor namespace/shortname parsing into own method --- e6156e2e4d4bd11bb13f5152ffac269f47eee15c