Kraken\Filesystem\Filesystem::move PHP Method

move() public method

public move ( $source, $destination )
    public function move($source, $destination)
    {
        $ex = null;
        $status = false;
        try {
            $status = $this->fs->rename($source, $destination);
        } catch (Error $ex) {
        } catch (Exception $ex) {
        }
        if (!$status || $ex !== null) {
            throw new WriteException("File {$source} could not be moved to {$destination}.", $ex);
        }
    }