Refactor deprecated App - process methods to DI::process()->*()

This commit is contained in:
nupplaPhil 2019-12-16 00:33:35 +01:00
parent aedbdc536a
commit 5609e94b05
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 8 additions and 33 deletions

View file

@ -8,6 +8,7 @@ use Friendica\Core\Config\Configuration;
use Friendica\Core\Config\PConfiguration;
use Friendica\Core\L10n\L10n;
use Friendica\Core\Lock\ILock;
use Friendica\Core\Process;
use Friendica\Core\Session\ISession;
use Friendica\Database\Database;
use Friendica\Model\Notify;
@ -51,6 +52,7 @@ use Psr\Log\LoggerInterface;
* @method static App\Router router()
* @method static Database dba()
* @method static FileSystem fs()
* @method static Process process()
*
*/
class DI
@ -82,6 +84,7 @@ class DI
'dba' => Database::class,
'fs' => FileSystem::class,
'profiler' => Profiler::class,
'process' => Process::class,
];
/** @var Dice */