PHP 8.3.31
Preview: FilesystemReader.php Size: 2.12 KB
/home/getspomw/royalsquad.us/vendor/league/flysystem/src/FilesystemReader.php

<?php

declare(strict_types=1);

namespace League\Flysystem;

use DateTimeInterface;

/**
 * This interface contains everything to read from and inspect
 * a filesystem. All methods containing are non-destructive.
 *
 * @method string publicUrl(string $path, array $config = []) Will be added in 4.0
 * @method string temporaryUrl(string $path, DateTimeInterface $expiresAt, array $config = []) Will be added in 4.0
 * @method string checksum(string $path, array $config = []) Will be added in 4.0
 */
interface FilesystemReader
{
    public const LIST_SHALLOW = false;
    public const LIST_DEEP = true;

    /**
     * @throws FilesystemException
     * @throws UnableToCheckExistence
     */
    public function fileExists(string $location): bool;

    /**
     * @throws FilesystemException
     * @throws UnableToCheckExistence
     */
    public function directoryExists(string $location): bool;

    /**
     * @throws FilesystemException
     * @throws UnableToCheckExistence
     */
    public function has(string $location): bool;

    /**
     * @throws UnableToReadFile
     * @throws FilesystemException
     */
    public function read(string $location): string;

    /**
     * @return resource
     *
     * @throws UnableToReadFile
     * @throws FilesystemException
     */
    public function readStream(string $location);

    /**
     * @return DirectoryListing<StorageAttributes>
     *
     * @throws FilesystemException
     * @throws UnableToListContents
     */
    public function listContents(string $location, bool $deep = self::LIST_SHALLOW): DirectoryListing;

    /**
     * @throws UnableToRetrieveMetadata
     * @throws FilesystemException
     */
    public function lastModified(string $path): int;

    /**
     * @throws UnableToRetrieveMetadata
     * @throws FilesystemException
     */
    public function fileSize(string $path): int;

    /**
     * @throws UnableToRetrieveMetadata
     * @throws FilesystemException
     */
    public function mimeType(string $path): string;

    /**
     * @throws UnableToRetrieveMetadata
     * @throws FilesystemException
     */
    public function visibility(string $path): string;
}

Directory Contents

Dirs: 2 × Files: 48

Name Size Perms Modified Actions
- drwxrwxrwx 2025-09-17 06:53:04
Edit Download
- drwxrwxrwx 2025-09-17 06:53:04
Edit Download
793 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
169 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
291 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.39 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
316 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.36 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.02 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.03 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.50 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
9.62 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.72 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
130 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
954 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
138 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
2.12 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.41 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
225 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
553 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
15.00 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
148 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.13 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
482 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
511 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.20 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
198 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.01 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
531 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
257 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
678 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
247 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.49 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.33 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
974 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
923 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
754 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
760 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
650 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
915 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.60 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
387 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
925 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
723 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.98 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
982 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
920 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
556 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
163 B lrw-rw-rw- 2025-09-17 06:53:04
Edit Download
1.13 KB lrw-rw-rw- 2025-09-17 06:53:04
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).