feat(share) : source de fichiers SMB (FileSource + SmbFileSource)

This commit is contained in:
Matthieu
2026-06-03 17:05:08 +02:00
parent f12ff87b87
commit f9428f5c5d
7 changed files with 202 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace App\Service\Share;
interface FileSource
{
/**
* @return FileEntry[] dossiers d'abord, puis fichiers, triés par nom
*/
public function dir(string $relativePath): array;
/**
* @return resource flux binaire en lecture
*/
public function read(string $relativePath);
public function test(): ShareTestResult;
}