pid); putenv('environmental=' . Snowflake::PROCESS); fire(Event::SERVER_WORKER_START); if (Snowflake::getPlatform()->isLinux()) { swoole_set_process_name($this->getProcessName()); } if (method_exists($this, 'before')) { $this->before($process); } $this->onHandler($process); } /** * @return string */ #[Pure] private function getPrefix(): string { return static::class; } }