Writes data to the socket.

Parameters

  • mixed $data

Returns

boolean `true` if data has been successfully written, `false` otherwise.

Source

						abstract public function write($data);