Files
kiri-http-server/Abstracts/OnTaskerStart.php
T

28 lines
417 B
PHP
Raw Normal View History

2021-11-03 15:17:52 +08:00
<?php
namespace Server\Abstracts;
use Kiri\Exception\ConfigException;
use Kiri\Kiri;
use Psr\EventDispatcher\EventDispatcherInterface;
use ReflectionException;
use Server\ServerManager;
/**
*
*/
class OnTaskerStart extends WorkerStart implements EventDispatcherInterface
{
/**
*/
public function dispatch(object $event)
{
ServerManager::setEnv('environmental', Kiri::TASK);
}
}