BinaryExtractor.php 273 Bytes
Newer Older
Serhey's avatar
Initial  
Serhey committed
1 2 3 4 5 6 7 8 9 10 11 12
<?php

namespace ContextualCode\EzPlatformSearchBinaryExtractorBundle\FieldType\BinaryFile;

use eZ\Publish\SPI\Persistence\Content\Field;

interface BinaryExtractor
{
    public function supports(Field $field): bool;

    public function extract(Field $field): ?string;
}