slogsdon/php-flat-file

View on GitHub
src/FileParser/FileParserInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace FlatFile\FileParser;

interface FileParserInterface
{
    public function canParse(\SplFileInfo $file): bool;
    public function parse(\SplFileInfo $file, \League\Plates\Engine $plates = null): ParsedFile;
    public function supportedFileExtensions(): array;
}