add pdf reader modul
This commit is contained in:
12
src/Knowledge/Extractor/DocumentExtractorInterface.php
Normal file
12
src/Knowledge/Extractor/DocumentExtractorInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Knowledge\Extractor;
|
||||
|
||||
interface DocumentExtractorInterface
|
||||
{
|
||||
public function supports(string $extension): bool;
|
||||
|
||||
public function extract(string $path): string;
|
||||
}
|
||||
Reference in New Issue
Block a user