Completed
Push — master ( 749edd...721fe7 )
by Park Jong-Hun
10:14
created

Board   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 35
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getName() 0 4 1
A getTitle() 0 4 1
1
<?php
2
3
namespace App\Entity;
4
5
/**
6
 * @Entity
7
 * @Table(name="boards")
8
 */
9
class Board
10
{
11
    /**
12
     * @Id
13
     * @Column(type="integer")
14
     * @GeneratedValue
15
     */
16
    protected $id;
17
18
    /**
19
     * @Column(type="text", length=255)
20
     */
21
    protected $name;
22
23
    /**
24
     * @Column(type="text", length=255)
25
     */
26
    protected $title;
27
28
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
34
    public function getName()
35
    {
36
        return $this->name;
37
    }
38
39
    public function getTitle()
40
    {
41
        return $this->title;
42
    }
43
}
44