/**
  * @param string $fromPath
  * @param string $toPath
  * @return \React\Promise\PromiseInterface
  */
 public function rename($fromPath, $toPath)
 {
     return $this->invoker->invokeCall('rename', ['from' => $fromPath, 'to' => $toPath]);
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function write($fileDescriptor, $data, $length, $offset)
 {
     return $this->invoker->invokeCall('eio_write', [$fileDescriptor, $data, $length, $offset]);
 }