X

Create New Item

File Folder

X

Search Results

File "UnableToOpenZipArchive.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/league/flysystem/src/ZipArchive/UnableToOpenZipArchive.php
File size: 436 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace League\Flysystem\ZipArchive;

use RuntimeException;

final class UnableToOpenZipArchive extends RuntimeException implements ZipArchiveException
{
    public static function atLocation(string $location, string $reason = ''): self
    {
        return new self(rtrim(sprintf(
            'Unable to open file at location: %s. %s',
            $location,
            $reason
        )));
    }
}