server/src/app/Services/TranscriptManagerInterface.php
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 163 59c68fc4848e
child 396 c8f651e7e4ff
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
163
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
namespace CorpusParole\Services;
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
use CorpusParole\Models\Document;
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
interface TranscriptManagerInterface {
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    function getConverter(string $converterKey, Document $document, string $source);
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    function getConverterUrl(string $converterKey, Document $document, string $url);
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
}