Completed
Push — master ( 89c9f0...9aceec )
by Thomas Mauro
06:33
created

ClientAwareTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 25
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getClient() 0 4 1
A setClient() 0 5 1
1
<?php
2
3
namespace Facile\SentryModule\Service;
4
5
trait ClientAwareTrait
6
{
7
    /**
8
     * @var Client
9
     */
10
    protected $client;
11
12
    /**
13
     * @return Client
14
     */
15
    public function getClient()
16
    {
17
        return $this->client;
18
    }
19
20
    /**
21
     * @param Client $client
22
     * @return $this
23
     */
24
    public function setClient(Client $client)
25
    {
26
        $this->client = $client;
27
        return $this;
28
    }
29
}
30