silverstripe/sapphire — pull request #860 by ajoneil (2012-10-09 22:06:05+00:00)
Title: Use late static binding for extension calls

Since we're requiring PHP 5.3 now, we can use late static binding for adding extensions. This means we can do:

SiteTree::add_extension('AwesomeExtension');

instead of

Object::add_extension('SiteTree', 'AwesomeExtension');