Completed
Push — master ( 99411a...99411a )
by Hugo
30s queued 10s
created

WannaSpeak   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 31
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
A callTrackings() 0 4 1
A sounds() 0 4 1
A statistics() 0 4 1
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