Nabila   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Dependencies 1
Metric Value
wmc 2
cbo 1
dl 0
loc 18
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A play() 0 4 1
A __toString() 0 4 1
1
<?php
2
3
namespace FizzBuzzDomain\Players;
4
5
use GameDomain\Player\PlayerInterface;
6
use GameDomain\Round\Step\Answer;
7
use GameDomain\Round\Step\Step;
8
use GameDomain\Rule\AbstractRulesSet;
9
10
/**
11
 * Nabila
12
 */
13
final class Nabila implements PlayerInterface
14
{
15
    /**
16
     * {@inheritDoc}
17
     */
18
    public function play(AbstractRulesSet $gameRules, Step $step)
19
    {
20
        return new Answer('Hallo ?!');
21
    }
22
23
    /**
24
     * {@inheritDoc}
25
     */
26
    public function __toString()
27
    {
28
        return 'Nabila';
29
    }
30
}
31