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\Generator;
4
5use App\Dto\Command\GenerateNickCommand;
6use App\Dto\Result\GeneratedNickData;
7use App\Exception\NickNotFoundException;
8use App\Exception\NoQualifierFoundException;
9use App\Exception\NoSubjectFoundException;
10
11/**
12 * @author Wilhelm Zwertvaegher
13 */
14interface NickGeneratorServiceInterface
15{
16    /**
17     * @throws NickNotFoundException
18     * @throws NoQualifierFoundException
19     * @throws NoSubjectFoundException
20     */
21    public function generateNick(GenerateNickCommand $command): GeneratedNickData;
22}

Branches

Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once. Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

{main}
3namespace App\Service\Generator;
4
5use App\Dto\Command\GenerateNickCommand;
6use App\Dto\Result\GeneratedNickData;
7use App\Exception\NickNotFoundException;
8use App\Exception\NoQualifierFoundException;
9use App\Exception\NoSubjectFoundException;
10
11/**
12 * @author Wilhelm Zwertvaegher
13 */
14interface NickGeneratorServiceInterface
15{
16    /**
17     * @throws NickNotFoundException
18     * @throws NoQualifierFoundException
19     * @throws NoSubjectFoundException
20     */
21    public function generateNick(GenerateNickCommand $command): GeneratedNickData;