move() public method

Move the file object directly to another location on disk.
public move ( string $new, boolean $overwrite = false ) : File
$new string
$overwrite boolean
return File
Example #1
0
 public function testMoveException()
 {
     $this->setExpectedException('Pop\\File\\Exception');
     $f = new File('access.txt');
     $f->move(__DIR__ . '/../tmp/access.txt');
 }