public function __construct(LoopInterface $loop, $path) { if (substr($path, 0, 7) !== 'unix://') { $path = 'unix://' . $path; } $this->loop = $loop; $this->path = $path; }