LocalTempFileTrait¶
-
trait
OC\Files\Storage\
LocalTempFileTrait
¶ - Storage backend class for providing common filesystem operation methodswhich are not storage-backend specific.\OC\Files\Storage\Common is never used directly; it is extended by all otherstorage backends, where its methods may be overridden, and additional(backend-specific) methods are defined.Some \OC\Files\Storage\Common methods call functions which are first definedin classes which extend it, e.g. $this->stat() .
Source: lib/private/Files/Storage/LocalTempFileTrait.php#38
Properties¶
-
protected static property
OC\Files\Storage\LocalTempFileTrait::$
cachedFiles
¶ Source: lib/private/Files/Storage/LocalTempFileTrait.php#41 Type: string[]
Methods¶
-
protected
OC\Files\Storage\LocalTempFileTrait::
getCachedFile
($path)¶ Source: Parameters: - $path (string)
Returns: string
-
protected
OC\Files\Storage\LocalTempFileTrait::
removeCachedFile
($path)¶ Source: Parameters: - $path (string)
-
protected
OC\Files\Storage\LocalTempFileTrait::
toTmpFile
($path)¶ Source: Parameters: - $path (string)
Returns: string