DMS::storeDocument
Takes a File object or a String (path to a file) and copies it into the DMS. The original file remains unchanged.
When storing a document, sets the fields on the File has "tag" metadata.
Signature
public function storeDocument(File|string
$file )
Parameters
$file
— object- File object, or String that is path to a file to store,
e.g. "assets/documents/industry/supplied-v1-0.pdf"
Returns
- DMSDocument