1 | <?php |
||
14 | final class JohnDoe implements PlayerInterface |
||
15 | { |
||
16 | /** @var \Utils\NumberGenerator\NumberGeneratorInterface */ |
||
17 | protected $numberGenerator; |
||
18 | |||
19 | /** |
||
20 | * @param \Utils\NumberGenerator\NumberGeneratorInterface $numberGenerator |
||
21 | */ |
||
22 | public function __construct(NumberGeneratorInterface $numberGenerator) |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | public function play(AbstractRulesSet $gameRules, Step $step) |
||
38 | |||
39 | /** |
||
40 | * {@inheritDoc} |
||
41 | */ |
||
42 | public function __toString() |
||
46 | } |
||
47 |