?iť?

Your IP : 18.224.67.58


Current Path : /home/scgforma/www/cloud/3rdparty/league/flysystem/src/Adapter/Polyfill/
Upload File :
Current File : /home/scgforma/www/cloud/3rdparty/league/flysystem/src/Adapter/Polyfill/NotSupportingVisibilityTrait.php

<?php

namespace League\Flysystem\Adapter\Polyfill;

use LogicException;

trait NotSupportingVisibilityTrait
{
    /**
     * Get the visibility of a file.
     *
     * @param string $path
     *
     * @throws LogicException
     */
    public function getVisibility($path)
    {
        throw new LogicException(get_class($this) . ' does not support visibility. Path: ' . $path);
    }

    /**
     * Set the visibility for a file.
     *
     * @param string $path
     * @param string $visibility
     *
     * @throws LogicException
     */
    public function setVisibility($path, $visibility)
    {
        throw new LogicException(get_class($this) . ' does not support visibility. Path: ' . $path . ', visibility: ' . $visibility);
    }
}