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