Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Specification\Criterion; |
| 4 | |
| 5 | use App\Entity\GrammaticalRole; |
| 6 | use App\Entity\Word; |
| 7 | |
| 8 | /** |
| 9 | * @author Wilhelm Zwertvaegher |
| 10 | */ |
| 11 | interface Criterion |
| 12 | { |
| 13 | /*** |
| 14 | * @return class-string<Word|GrammaticalRole> |
| 15 | */ |
| 16 | public function getTargetEntity(): string; |
| 17 | |
| 18 | public function getField(): string; |
| 19 | |
| 20 | public function shouldApply(): bool; |
| 21 | } |