Sunnysideup\DMS\Interfaces\DMSInterface::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
$file )
Parameters
$file
— object- object, or String that is path to a file to store
Returns
- DMSDocumentInstance
- Document object that we just created