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
3namespace App\Service\Data;
4
5use App\Entity\Subject;
6use App\Entity\Word;
7use App\Specification\Criteria;
8
9/**
10 * @extends GrammaticalRoleServiceInterface<Subject>
11 *
12 * @author Wilhelm Zwertvaegher
13 */
14interface 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}