Completed
Push — master ( 3e9c3d...99411a )
by Hugo
22s queued 11s
created

WannaSpeak::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.9666
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yproximite\WannaSpeakBundle;
6
7
use Yproximite\WannaSpeakBundle\Api\CallTrackingsInterface;
8
use Yproximite\WannaSpeakBundle\Api\SoundsInterface;
9
use Yproximite\WannaSpeakBundle\Api\StatisticsInterface;
10
11
class WannaSpeak
12
{
13
    private $callTrackings;
14
    private $sounds;
15
    private $statistics;
16
17
    public function __construct(
18
        CallTrackingsInterface $callTrackings,
19
        SoundsInterface $sounds,
20
        StatisticsInterface $statistics
21
    ) {
22
        $this->callTrackings = $callTrackings;
23
        $this->sounds        = $sounds;
24
        $this->statistics    = $statistics;
25
    }
26
27
    public function callTrackings(): CallTrackingsInterface
28
    {
29
        return $this->callTrackings;
30
    }
31
32
    public function sounds(): SoundsInterface
33
    {
34
        return $this->sounds;
35
    }
36
37
    public function statistics(): StatisticsInterface
38
    {
39
        return $this->statistics;
40
    }
41
}
42