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\Service\Data; |
| 4 | |
| 5 | use App\Entity\Subject; |
| 6 | use App\Entity\Word; |
| 7 | use App\Specification\Criteria; |
| 8 | |
| 9 | /** |
| 10 | * @extends GrammaticalRoleServiceInterface<Subject> |
| 11 | * |
| 12 | * @author Wilhelm Zwertvaegher |
| 13 | */ |
| 14 | interface SubjectServiceInterface extends GrammaticalRoleServiceInterface |
| 15 | { |
| 16 | public function findOneRandomly(Criteria $criteria): ?Subject; |
| 17 | |
| 18 | public function createOrUpdate(Word $word): Subject; |
| 19 | |
| 20 | public function deleteIfExists(int $wordId): void; |
| 21 | |
| 22 | public function save(Subject $subject): void; |
| 23 | } |