Company   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 17
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * xMDB-API
4
 *
5
 * Copyright © 2017 pudelek.org.pl 
6
 *  
7
 * @license MIT License (MIT)
8
 *  
9
 * For the full copyright and license information, please view source file 
10
 * that is bundled with this package in the file LICENSE
11
 *
12
 * @author Marcin Pudełek <[email protected]>
13
 */
14
15
/**
16
 * Created by Marcin.
17
 * Date: 30.11.2017
18
 * Time: 00:13
19
 */
20
21
namespace mrcnpdlk\Xmdb\Model\Tmdb;
22
23
24
class Company
25
{
26
    /**
27
     * @var integer
28
     */
29
    public $id;
30
    /**
31
     * @var string
32
     */
33
    public $name;
34
35
    public function __construct(int $id, string $name)
36
    {
37
        $this->id   = $id;
38
        $this->name = $name;
39
    }
40
}
41