public function write($content)
    {

        $bytes =  $this->stream()->write($content);
        $this->didWrite = true;
        return $bytes;
    }
public function write($content)
    {

        $bytes =  $this->stream()->write($content);
        $this->didWrite = true;
        return $bytes;
    }
public function write ( $ content ) { $ bytes = $ this -> stream ( ) -> write ( $ content ) ; $ this -> didWrite = true ; return $ bytes ; }
Write some bytes into the connection.

@param string $content

@return int The written bytes
Write some bytes into the connection .