Ejemplo n.º 1
0
 /**
  * Stream Command: stream_write
  *
  * @param string $data Data to be written
  *
  * @return int
  */
 public function stream_write($data)
 {
     if (false === $this->request->getObject()->isWritable(getmyuid(), getmygid())) {
         return 0;
     }
     return $this->request->write($data);
 }