This commit is contained in:
Philipp Holzer 2020-01-18 21:01:44 +01:00
parent 2838635d64
commit 0e6a675cb5
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,6 @@ namespace Friendica\Core;
use Exception; use Exception;
use Friendica\Core\Config\IConfiguration; use Friendica\Core\Config\IConfiguration;
use Friendica\Core\L10n;
use Friendica\Database\Database; use Friendica\Database\Database;
use Friendica\Model\Storage; use Friendica\Model\Storage;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;

View file

@ -3,6 +3,7 @@
namespace Friendica; namespace Friendica;
use Dice\Dice; use Dice\Dice;
use Friendica\Core\L10n;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
/** /**
@ -156,6 +157,9 @@ abstract class DI
return self::$dice->create(Core\Lock\ILock::class); return self::$dice->create(Core\Lock\ILock::class);
} }
/**
* @return L10n
*/
public static function l10n() public static function l10n()
{ {
return self::$dice->create(Core\L10n::class); return self::$dice->create(Core\L10n::class);