Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\WikispeechSpeechDataCollector\Domain; |
| 4 | |
| 5 | /** |
| 6 | * @file |
| 7 | * @ingroup Extensions |
| 8 | * @license GPL-2.0-or-later |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * Interface PersistentVisitor |
| 13 | * |
| 14 | * https://en.wikipedia.org/wiki/Visitor_pattern |
| 15 | * @since 0.1.0 |
| 16 | */ |
| 17 | interface PersistentVisitor { |
| 18 | /** |
| 19 | * @param Language $language |
| 20 | * @return mixed|null |
| 21 | */ |
| 22 | public function visitLanguage( |
| 23 | Language $language |
| 24 | ); |
| 25 | |
| 26 | /** |
| 27 | * @param Manuscript $manuscript |
| 28 | * @return mixed|null |
| 29 | */ |
| 30 | public function visitManuscript( |
| 31 | Manuscript $manuscript |
| 32 | ); |
| 33 | |
| 34 | /** |
| 35 | * @param ManuscriptDomain $manuscriptDomain |
| 36 | * @return mixed|null |
| 37 | */ |
| 38 | public function visitManuscriptDomain( |
| 39 | ManuscriptDomain $manuscriptDomain |
| 40 | ); |
| 41 | |
| 42 | /** |
| 43 | * @param ManuscriptPrompt $manuscriptPrompt |
| 44 | * @return mixed|null |
| 45 | */ |
| 46 | public function visitManuscriptPrompt( |
| 47 | ManuscriptPrompt $manuscriptPrompt |
| 48 | ); |
| 49 | |
| 50 | /** |
| 51 | * @param Recording $recording |
| 52 | * @return mixed|null |
| 53 | */ |
| 54 | public function visitRecording( |
| 55 | Recording $recording |
| 56 | ); |
| 57 | |
| 58 | /** |
| 59 | * @param RecordingAnnotations $recordingAnnotations |
| 60 | * @return mixed|null |
| 61 | */ |
| 62 | public function visitRecordingAnnotations( |
| 63 | RecordingAnnotations $recordingAnnotations |
| 64 | ); |
| 65 | |
| 66 | /** |
| 67 | * @param RecordingReview $recordingReview |
| 68 | * @return mixed|null |
| 69 | */ |
| 70 | public function visitRecordingReview( |
| 71 | RecordingReview $recordingReview |
| 72 | ); |
| 73 | |
| 74 | /** |
| 75 | * @param SkippedManuscriptPrompt $skippedManuscriptPrompt |
| 76 | * @return mixed|null |
| 77 | */ |
| 78 | public function visitSkippedManuscriptPrompt( |
| 79 | SkippedManuscriptPrompt $skippedManuscriptPrompt |
| 80 | ); |
| 81 | |
| 82 | /** |
| 83 | * @param User $user |
| 84 | * @return mixed|null |
| 85 | */ |
| 86 | public function visitUser( |
| 87 | User $user |
| 88 | ); |
| 89 | |
| 90 | /** |
| 91 | * @param UserDialect $userDialect |
| 92 | * @return mixed|null |
| 93 | */ |
| 94 | public function visitUserDialect( |
| 95 | UserDialect $userDialect |
| 96 | ); |
| 97 | |
| 98 | /** |
| 99 | * @param UserLanguageProficiencyLevel $languageProficiencyLevel |
| 100 | * @return mixed|null |
| 101 | */ |
| 102 | public function visitUserLanguageProficiencyLevel( |
| 103 | UserLanguageProficiencyLevel $languageProficiencyLevel |
| 104 | ); |
| 105 | } |