mirror of
https://github.com/friendica/friendica
synced 2025-05-06 11:04:12 +02:00
Refactor deprecated App - process methods to DI::process()->*()
This commit is contained in:
parent
aedbdc536a
commit
5609e94b05
3 changed files with 8 additions and 33 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue