Iys   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A brands() 0 4 1
A consents() 0 4 1
A retailers() 0 4 1
1
<?php
2
3
namespace TarfinLabs\Iys;
4
5
class Iys
6
{
7
    public $config;
8
9
    public function __construct()
10
    {
11
        $this->config = config('laravel-iys');
12
    }
13
14
    /**
15
     * Marka işlemleri.
16
     *
17
     * @return Brand
18
     */
19
    public function brands()
20
    {
21
        return new Brand();
22
    }
23
24
    /**
25
     * İzin işlemleri.
26
     *
27
     * @return Consent
28
     */
29
    public function consents()
30
    {
31
        return new Consent();
32
    }
33
34
    /**
35
     * Bayi işlemleri.
36
     *
37
     * @return Retailer
38
     */
39
    public function retailers()
40
    {
41
       return new Retailer();
42
    }
43
}
44