SharedWorker.php
public static function withExpression($socketAddress, WorkerBootstrapProfile $bootstrapProfile, $implementationExpression = null, $autoStart = true)
    {
        return new static($socketAddress, $bootstrapProfile, $implementationExpression, $autoStart);
    }
public static function withExpression($socketAddress, WorkerBootstrapProfile $bootstrapProfile, $implementationExpression = null, $autoStart = true)
    {
        return new static($socketAddress, $bootstrapProfile, $implementationExpression, $autoStart);
    }
@param string                 $socketAddress
@param WorkerBootstrapProfile $bootstrapProfile
@param string|null            $implementationExpression
@param bool                   $autoStart

@throws Exception\ConnectException

@return static