webmoney/backend/app/Services/Import/FileParserInterface.php
marco 54cccdd095 refactor: migração para desenvolvimento direto no servidor
- Removido README.md padrão do Laravel (backend)
- Removidos scripts de deploy (não mais necessários)
- Atualizado copilot-instructions.md para novo fluxo
- Adicionada documentação de auditoria do servidor
- Sincronizado código de produção com repositório

Novo workflow:
- Trabalhamos diretamente em /root/webmoney (symlink para /var/www/webmoney)
- Mudanças PHP são instantâneas
- Mudanças React requerem 'npm run build'
- Commit após validação funcional
2025-12-19 11:45:32 +01:00

27 lines
629 B
PHP
Executable File

<?php
namespace App\Services\Import;
interface FileParserInterface
{
/**
* Parse the file and return raw data
*/
public function parse(string $filePath, array $options = []): array;
/**
* Get headers from the file
*/
public function getHeaders(string $filePath, array $options = []): array;
/**
* Get preview data (first N rows)
*/
public function getPreview(string $filePath, int $rows = 10, array $options = []): array;
/**
* Check if the parser supports the given file type
*/
public static function supports(string $extension): bool;
}