# wpfunnels/3.12.13/vendor/league/flysystem/src/UnableToListContents.php

WPFunnels – Funnel Builder for WooCommerce with Checkout &amp; One Click Upsell, version 3.12.13. 25 lines.

- Page: https://pluginprobe.com/plugins/wpfunnels/3.12.13/code/vendor/league/flysystem/src/UnableToListContents.php
- Raw: https://pluginprobe.com/plugins/wpfunnels/3.12.13/raw/vendor/league/flysystem/src/UnableToListContents.php
- Modified: 2026-04-02T10:54:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpfunnels/3.12.13/code/vendor/league/flysystem/src/UnableToListContents.php#L10-L20`.

```php
<?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;
    }
}

```
