%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/calling_code/vendor/league/flysystem/src/
Upload File :
Create Path :
Current File : /home/silvzytp/calling_code/vendor/league/flysystem/src/PortableVisibilityGuard.php

<?php

declare(strict_types=1);

namespace League\Flysystem;

final class PortableVisibilityGuard
{
    public static function guardAgainstInvalidInput(string $visibility): void
    {
        if ($visibility !== Visibility::PUBLIC && $visibility !== Visibility::PRIVATE) {
            $className = Visibility::class;
            throw InvalidVisibilityProvided::withVisibility(
                $visibility,
                "either {$className}::PUBLIC or {$className}::PRIVATE"
            );
        }
    }
}

Zerion Mini Shell 1.0