X

Create New Item

File Folder

X

Search Results

File "UnableToCreateParentDirectory.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/league/flysystem/src/ZipArchive/UnableToCreateParentDirectory.php
File size: 459 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;

class UnableToCreateParentDirectory extends RuntimeException implements ZipArchiveException
{
    public static function atLocation(string $location, string $reason = ''): UnableToCreateParentDirectory
    {
        return new UnableToCreateParentDirectory(
            rtrim("Unable to create the parent directory ($location): $reason", ' :')
        );
    }
}