/** * @task impl */ public function write($message) { $this->bytesWritten += strlen($message); return parent::write($message); }
public function write($message) { $this->log('<<< ' . phutil_loggable_string($message)); return parent::write($message); }
/** * Write a message to the channel. * * @param wild Some message. * @return this * * @task io */ public function write($message) { $bytes = $this->encodeMessage($message); return parent::write($bytes); }