Completed
Push — master ( 17bcf1...528abf )
by Dmitry
10:53
created

MultitenantEndpointBuilderTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A exportTo() 0 6 1
1
<?php
2
3
4
namespace hiapi\endpoints\Module\Multitenant;
5
6
/**
7
 * Trait MultitenantEndpointBuilderTrait
8
 *
9
 * @author Dmytro Naumenko <[email protected]>
10
 */
11
trait MultitenantEndpointBuilderTrait
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $exportTo;
17
18
    /** {@inheritDoc} */
19
    public function exportTo(string $tenants)
20
    {
21
        $this->exportTo = $tenants;
22
23
        return $this;
24
    }
25
}
26