| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace League\Flysystem; |
| 6 |
|
| 7 |
interface FilesystemOperationFailed extends FilesystemException |
| 8 |
{ |
| 9 |
public const OPERATION_WRITE = 'WRITE'; |
| 10 |
public const OPERATION_UPDATE = 'UPDATE'; // not used |
| 11 |
public const OPERATION_EXISTENCE_CHECK = 'EXISTENCE_CHECK'; |
| 12 |
public const OPERATION_DIRECTORY_EXISTS = 'DIRECTORY_EXISTS'; |
| 13 |
public const OPERATION_FILE_EXISTS = 'FILE_EXISTS'; |
| 14 |
public const OPERATION_CREATE_DIRECTORY = 'CREATE_DIRECTORY'; |
| 15 |
public const OPERATION_DELETE = 'DELETE'; |
| 16 |
public const OPERATION_DELETE_DIRECTORY = 'DELETE_DIRECTORY'; |
| 17 |
public const OPERATION_MOVE = 'MOVE'; |
| 18 |
public const OPERATION_RETRIEVE_METADATA = 'RETRIEVE_METADATA'; |
| 19 |
public const OPERATION_COPY = 'COPY'; |
| 20 |
public const OPERATION_READ = 'READ'; |
| 21 |
public const OPERATION_SET_VISIBILITY = 'SET_VISIBILITY'; |
| 22 |
public const OPERATION_LIST_CONTENTS = 'LIST_CONTENTS'; |
| 23 |
|
| 24 |
public function operation(): string; |
| 25 |
} |
| 26 |
|