public function moveUploadedFile($localFile, $destination) { $this->filesystem->putStream($destination, fopen($localFile, 'r+')); return true; }
public function testMoveUploadedFile() { $this->container->moveUploadedFile(__FILE__, 'destination'); }