public function upload($boxFile, $attributes, array $params = [])
    {
        //Make BoxMain File
        $boxFile = $this->makeBoxFile($boxFile);

        //Simple file upload
        return $this->simpleUpload($boxFile, $attributes, $params);
    }
public function upload($boxFile, $attributes, array $params = [])
    {
        //Make BoxMain File
        $boxFile = $this->makeBoxFile($boxFile);

        //Simple file upload
        return $this->simpleUpload($boxFile, $attributes, $params);
    }
public function upload ( $ boxFile , $ attributes , array $ params = [ ] ) { //Make BoxMain File $ boxFile = $ this -> makeBoxFile ( $ boxFile ) ; //Simple file upload return $ this -> simpleUpload ( $ boxFile , $ attributes , $ params ) ; }
Upload a File to Box

@param  string|BoxFile $boxFile BoxFile object or Path to file
@param  string             $folder        Path to upload the file to
@param  array              $params      Additional Params

@link https://www.box.com/developers/documentation/http/documentation#files-upload

@return \Ziggeo\BoxContent\Content\BoxFileMetadata
Upload a File to Box