public function attachBound(\PHPDaemon\BoundSocket\Generic $bound, $inf = null) { $this->bound->attach($bound, $inf); if ($this->eventLoop !== null) { $bound->setEventLoop($this->eventLoop); } }