Completed
Push — master ( 77ee69...2c1ebc )
by Marco
14:18
created

City   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Doctrine\Tests\Models\Quote;
4
5
/**
6
 * @Entity
7
 * @Table(name="`quote-city`")
8
 */
9
class City
10
{
11
    /**
12
     * @Id
13
     * @GeneratedValue
14
     * @Column(type="integer", name="`city-id`")
15
     */
16
    public $id;
17
18
    /**
19
     * @Column(name="`city-name`")
20
     */
21
    public $name;
22
23
    public function __construct(string $name)
24
    {
25
        $this->name = $name;
26
    }
27
}
28