/** * Replace the current file contents with the given string * * @param string $contents The contents to write to the file. * @return File The file object (allows chaining). */ public function setContents($contents) { return $this->originalFile->setContents($contents); }