ElementsAdapter
class ElementsAdapter extends ElementsAdapter
Properties
protected Client | $client | from ElementsAdapter | |
protected array | $cache | File information cache. |
from ElementsAdapter |
protected array | $volumePathsCache | Caches the Elements volume paths. |
from ElementsAdapter |
protected array | $contentCache | Directory content cache. |
from ElementsAdapter |
Methods
array
getMediaFiles(string $path)
Get the media file information for all files of a given parent.
from
ElementsAdapter
Details
in
ElementsAdapter at line 55
__construct(Client $client)
Constructor
in
ElementsAdapter at line 66
bool
fileExists(string $path)
{@inheritdoc}
in
ElementsAdapter at line 80
bool
directoryExists(string $path)
{@inheritdoc}
in
ElementsAdapter at line 94
void
write(string $path, string $contents, Config $config)
{@inheritdoc}
in
ElementsAdapter at line 102
void
writeStream(string $path, $contents, Config $config)
{@inheritdoc}
in
ElementsAdapter at line 110
string
read(string $path)
{@inheritdoc}
in
ElementsAdapter at line 124
readStream(string $path)
{@inheritdoc}
in
ElementsAdapter at line 138
void
delete(string $path)
{@inheritdoc}
in
ElementsAdapter at line 146
void
deleteDirectory(string $path)
{@inheritdoc}
in
ElementsAdapter at line 154
void
createDirectory(string $path, Config $config)
{@inheritdoc}
in
ElementsAdapter at line 162
void
setVisibility(string $path, string $visibility)
{@inheritdoc}
in
ElementsAdapter at line 170
FileAttributes
visibility(string $path)
{@inheritdoc}
in
ElementsAdapter at line 178
FileAttributes
mimeType(string $path)
{@inheritdoc}
in
ElementsAdapter at line 186
FileAttributes
lastModified(string $path)
{@inheritdoc}
in
ElementsAdapter at line 194
FileAttributes
fileSize(string $path)
{@inheritdoc}
in
ElementsAdapter at line 202
iterable
listContents(string $path, bool $deep)
{@inheritdoc}
in
ElementsAdapter at line 214
void
move(string $source, string $destination, Config $config)
{@inheritdoc}
in
ElementsAdapter at line 222
void
copy(string $source, string $destination, Config $config)
{@inheritdoc}
in
ElementsAdapter at line 234
protected array|null
getMediaFile(string $path)
Get the media file information.
in
ElementsAdapter at line 257
protected array
getMediaFiles(string $path)
Get the media file information for all files of a given parent.
in
ElementsAdapter at line 307
protected Response
getMediaFileDownload(string $path)
Get the content of a media file.
in
ElementsAdapter at line 322
protected FileAttributes
getFileMetadata(string $path, string $type)
No description
in
ElementsAdapter at line 333
protected DirectoryAttributes
getMetadata(string $path, string $type)
No description
in
ElementsAdapter at line 344
protected DirectoryAttributes
parseStorageAttributes(array $attributes)
No description
in
ElementsAdapter at line 366
protected void
fetchVolumePaths()
No description
in
ElementsAdapter at line 375
protected array
processFileRoots(array $roots)
No description