silverstripe/silverstripe-framework — pull request #3216 by halkyon (2014-06-18 22:43:40+00:00)
Title: Better support for overloading start and destroy methods in Session

Move functionality from static start and destroy functions into instance
methods, allowing these to be overloaded. This works the same way as
calling Session::set() which then in turn calls inst_set()

Additionally use Injector to create the default Session instance to
allow the class to be swapped out.