application = $application; Snowflake::setProcessId($this->pid); } /** * @param Process $process * @throws Exception */ public function _load(Process $process) { putenv('environmental=' . Snowflake::PROCESS); fire(Event::SERVER_WORKER_START); if (Snowflake::getPlatform()->isLinux()) { name($process->pid, $this->getPrefix()); } $this->onHandler($process); } /** * @return string */ #[Pure] private function getPrefix(): string { return get_called_class(); } }