WorkerFactory.php
public function connectToSharedWorker($socketAddress, $implementationClassName = null, $autoStart = true)
    {
        return SharedWorker::withClass($socketAddress, $this->bootstrapProfile, $implementationClassName, $autoStart);
    }
public function connectToSharedWorker($socketAddress, $implementationClassName = null, $autoStart = true)
    {
        return SharedWorker::withClass($socketAddress, $this->bootstrapProfile, $implementationClassName, $autoStart);
    }
@param string      $socketAddress
@param string|null $implementationClassName
@param bool        $autoStart

@throws Exception\ConnectException

@return SharedWorker