src/Messenger.php
function getWorkerSocket(\CharlotteDunois\Phoebe\Worker $worker) {
        return $this->streams->get($worker->id);
    }
function getWorkerSocket(\CharlotteDunois\Phoebe\Worker $worker) {
        return $this->streams->get($worker->id);
    }
Gets the ResourceSocket for the worker.
@param \CharlotteDunois\Phoebe\Worker  $worker
@return \CharlotteDunois\Phoebe\ResourceSocket|null