StorageObjectInterface
interface StorageObjectInterface
Interface that describes a class representing a file object, regardless of location or storage backend.
Methods
Returns the object path name {see StorageObjectInterface::getPathName()}.
Returns whether object exists on storage medium.
Returns an object file identifier.
Returns the object file url.
Returns the object path info metadata instance.
Returns the object type metadata instance.
Returns an object mime type metadata instance.
Returns an object uuid metadata instance.
Returns an object size metadata instance.
Returns an object owner metadata instance.
Returns an object permissions metadata instance.
Returns an object time metadata instance.
Returns the object file contents.
Sets and returns the object file contents.
Details
at line line 33
string
__toString()
Returns the object path name {see StorageObjectInterface::getPathName()}.
at line line 40
bool
exists()
Returns whether object exists on storage medium.
at line line 47
mixed
getIdentifier()
Returns an object file identifier.
at line line 54
string
getUrl()
Returns the object file url.
at line line 61
PathInfoAccessors
getPathInfo()
Returns the object path info metadata instance.
at line line 68
ContextAccessors
getContext()
Returns the object type metadata instance.
at line line 75
MimeTypeAccessors
getMimeType()
Returns an object mime type metadata instance.
at line line 82
UuidAccessors
getUuid()
Returns an object uuid metadata instance.
at line line 89
SizeAccessors
getSize()
Returns an object size metadata instance.
at line line 96
OwnerAccessors
getOwner()
Returns an object owner metadata instance.
at line line 103
PermissionAccessors
getPermissions()
Returns an object permissions metadata instance.
at line line 110
DateTimeAccessors
getTime()
Returns an object time metadata instance.
at line line 117
string
getContents()
Returns the object file contents.
at line line 126
string
setContents(
string $contents)
Sets and returns the object file contents.