src/SelectSocketLoop.php
public function watchForRead($socketObject) : void
    {
        $rawSocket = $this->getRawSocket($socketObject);
        \array_push($this->watchedSockets, $rawSocket);
        $this->watchedSocketObjects[$this->getRawSocketKey($rawSocket)] = $socketObject;
    }
public function watchForRead($socketObject) : void
    {
        $rawSocket = $this->getRawSocket($socketObject);
        \array_push($this->watchedSockets, $rawSocket);
        $this->watchedSocketObjects[$this->getRawSocketKey($rawSocket)] = $socketObject;
    }
public function watchForRead ( $ socketObject ) : void { $ rawSocket = $ this -> getRawSocket ( $ socketObject ) ; \ array_push ( $ this -> watchedSockets , $ rawSocket ) ; $ this -> watchedSocketObjects [ $ this -> getRawSocketKey ( $ rawSocket ) ] = $ socketObject ; }
Currently only supports watching read events
Currently only supports watching read events