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

ClientAwareTrait::setClient()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 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