JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "UnableToListContents.php"

Full Path: /home/ambitio2/public_html/vendor/league/flysystem/src/UnableToListContents.php
File size: 650 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace League\Flysystem;

use RuntimeException;
use Throwable;

final class UnableToListContents extends RuntimeException implements FilesystemOperationFailed
{
    public static function atLocation(string $location, bool $deep, Throwable $previous): UnableToListContents
    {
        $message = "Unable to list contents for '$location', " . ($deep ? 'deep' : 'shallow') . " listing\n\n"
            . 'Reason: ' . $previous->getMessage();

        return new UnableToListContents($message, 0, $previous);
    }

    public function operation(): string
    {
        return self::OPERATION_LIST_CONTENTS;
    }
}