Jyxo\Input\Upload::move PHP Method

move() public method

Moves the uploaded file.
public move ( string $destination ) : boolean
$destination string File destination
return boolean
    public function move(string $destination) : bool
    {
        $result = false;
        if ($this->success) {
            $result = move_uploaded_file($this->tmpName(), $destination);
        }
        return $result;
    }