public function move($path, $name = '', $unlinkable = true, $deferred = false)
    {
        $this->path = rtrim($path,"/")."/";
        $this->filename = $name;
        $this->unlink_file = $unlinkable;
        $this->upload_deferred = $deferred;
        if (!$this->web_path) $this->web_path = $this->path;
        return $this;
    }
public function move($path, $name = '', $unlinkable = true, $deferred = false)
    {
        $this->path = rtrim($path,"/")."/";
        $this->filename = $name;
        $this->unlink_file = $unlinkable;
        $this->upload_deferred = $deferred;
        if (!$this->web_path) $this->web_path = $this->path;
        return $this;
    }
public function move ( $ path , $ name = '' , $ unlinkable = true , $ deferred = false ) { $ this -> path = rtrim ( $ path , "/" ) . "/" ; $ this -> filename = $ name ; $ this -> unlink_file = $ unlinkable ; $ this -> upload_deferred = $ deferred ; if ( ! $ this -> web_path ) $ this -> web_path = $ this -> path ; return $ this ; }
move uploaded file to the destination path, optionally raname it
name param can be passed also as blade syntax
unlinkable  is a bool, tell to the field to unlink or not if "remove" is checked
@param $path
@param  string $name
@param  bool   $unlinkable
@return $this
move uploaded file to the destination path optionally raname it name param can be passed also as blade syntax unlinkable is a bool tell to the field to unlink or not if remove is checked