forkcms/forkcms — pull request #480 by WouterSioen (2013-04-25 15:23:54+00:00)
Title: add a shorthand function to get services from the DIC

Add a shorter version to get a service from the dependency injection container (like in Symfony)

FrontendModel::get('database') or BackendModel::get('database')
instead of FrontendModel::getContainer()->get('database') or BackendModel::getContainer()->get('database')