friendica/src/Worker/ForkHook.php
nupplaPhil 1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00

20 lines
263 B
PHP

<?php
/**
* @file src/Worker/ForkHook.php
*/
namespace Friendica\Worker;
use Friendica\Core\Hook;
use Friendica\DI;
Class ForkHook
{
public static function execute($name, $hook, $data)
{
$a = DI::app();
Hook::callSingle($a, $name, $hook, $data);
}
}