github/vendor/league/flysystem/src/ChecksumProvider.php
2025-04-12 19:11:43 +08:00

15 lines
291 B
PHP
Executable File

<?php
namespace League\Flysystem;
interface ChecksumProvider
{
/**
* @return string MD5 hash of the file contents
*
* @throws UnableToProvideChecksum
* @throws ChecksumAlgoIsNotSupported
*/
public function checksum(string $path, Config $config): string;
}