SharedWorker.php
public function getProcessId()
    {
        if ($this->processId === false) {
            $this->processId = IdentificationHelper::getListeningProcessId($this->socketAddress);
        }

        return $this->processId;
    }
public function getProcessId()
    {
        if ($this->processId === false) {
            $this->processId = IdentificationHelper::getListeningProcessId($this->socketAddress);
        }

        return $this->processId;
    }
@throws Exception\RuntimeException

@return int|null