1de3f186d7
- Adding Friendica\DI class for getting dynamic classes - Replacing BaseObject::getApp() with this class
20 lines
263 B
PHP
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);
|
|
}
|
|
}
|