Deprecate ServiceContainerTrait::getService.

This commit is contained in:
David Molineus committed 2015-09-14 07:23:42 +02:00
1 parent 8a148ffaf8
commit 5171825a23
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class Control
*/
public function __construct()
{
$this->database = static::getService('database.connection');
$this->database = static::getServiceContainer()->getDatabaseConnection();
}
/**