nginxsonarrradarrplexorganizrdashboardbookmarkapplication-dashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbget
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
750 B
33 lines
750 B
<?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);
|
|
}
|
|
}
|
|
|