File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1717 */
1818class ExcelBulkLoader extends BulkLoader
1919{
20+ private bool $ checkPermissions = false ;
21+
2022 private bool $ useTransaction = false ;
2123
2224 /**
@@ -490,6 +492,23 @@ public function getFileType()
490492 return $ this ->fileType ;
491493 }
492494
495+ /**
496+ * If true, this bulk loader will respect create/edit/delete permissions.
497+ */
498+ public function getCheckPermissions (): bool
499+ {
500+ return $ this ->checkPermissions ;
501+ }
502+
503+ /**
504+ * Determine whether this bulk loader should respect create/edit/delete permissions.
505+ */
506+ public function setCheckPermissions (bool $ value ): ExcelBulkLoader
507+ {
508+ $ this ->checkPermissions = $ value ;
509+ return $ this ;
510+ }
511+
493512 /**
494513 * If true, will wrap everything in a transaction
495514 */
You can’t perform that action at this time.
0 commit comments