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\Nick\Strategy; |
| 4 | |
| 5 | use App\Dto\Result\FormattedNickWord; |
| 6 | use App\Entity\GrammaticalRole; |
| 7 | use App\Enum\Lang; |
| 8 | use App\Enum\WordGender; |
| 9 | use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag; |
| 10 | |
| 11 | /** |
| 12 | * @author Wilhelm Zwertvaegher |
| 13 | */ |
| 14 | #[AutoconfigureTag('app.word_rules')] |
| 15 | interface WordRules |
| 16 | { |
| 17 | public function getLang(): Lang; |
| 18 | |
| 19 | public function resolve(GrammaticalRole $grammaticalRole, WordGender $targetGender): FormattedNickWord; |
| 20 | } |