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\Nick;
4
5use App\Dto\Result\FormattedNickWord;
6use App\Entity\GrammaticalRole;
7use App\Enum\WordGender;
8
9/**
10 *  Formats a GrammaticalRole based on its target gender
11 *  If a lang does not require additional rules, then there is no need to implement a formatter for this lang.
12 *
13 * @author Wilhelm Zwertvaegher
14 */
15interface WordFormatterInterface
16{
17    public function format(GrammaticalRole $grammaticalRole, WordGender $gender): FormattedNickWord;
18}