Вход Регистрация
Файл: vendor/league/flysystem/src/UnableToListContents.php
Строк: 39
<?php

declare(strict_types=1);

namespace 
LeagueFlysystem;

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') . " listingnn"
            
. 'Reason: ' . $previous->getMessage();

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

    public function 
operation(): string
    
{
        return 
self::OPERATION_LIST_CONTENTS;
    }
}
Онлайн: 2
Реклама