IObjectStore
Interface IObjectStore
Tags
Table of Contents
- deleteObject() : void
- getStorageId() : string
- objectExists() : bool
- Check if an object exists in the object store
- readObject() : resource
- writeObject() : mixed
Methods
deleteObject()
public
deleteObject(string $urn) : void
Parameters
- $urn : string
-
the unified resource name used to identify the object
Tags
getStorageId()
public
getStorageId() : string
Tags
Return values
string —the container or bucket name where objects are stored
objectExists()
Check if an object exists in the object store
public
objectExists(string $urn) : bool
Parameters
- $urn : string
Tags
Return values
bool —readObject()
public
readObject(string $urn) : resource
Parameters
- $urn : string
-
the unified resource name used to identify the object
Tags
Return values
resource —stream with the read data
writeObject()
public
writeObject(string $urn, resource $stream) : mixed
Parameters
- $urn : string
-
the unified resource name used to identify the object
- $stream : resource
-
stream with the data to write