joomla/joomla-cms — pull request #4806 by Kubik-Rubik (2014-10-17 19:10:30+00:00)
Title: Wrapper classes for JLanguage to get rid of static methods

Reference: #4717

This PR introduces wrapper classes for the JLanguage class (+JText) to get rid of the static methods to improve the testing basis of the code for our PHPUnit tests!

The static methods (and the wrappers) will be removed completely in Joomla! 4.x.