Completed
Pull Request — master (#6412)
by Jarek
10:55
created

DDC6412File   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A setName() 0 3 1
A getName() 0 3 1
1
<?php
2
3
namespace Doctrine\Tests\Models\DDC6412;
4
5
/**
6
 * @Entity
7
 */
8
class DDC6412File
9
{
10
    /**
11
     * @Column(type="integer")
12
     * @GeneratedValue
13
     */
14
    public $id;
15
    
16
    /**
17
     * @Column(length=50, name="file_name")
18
     */
19
    public $name;
20
21
    public function getId() {
22
        return $this->id;
23
    }
24
25
    public function setName($name) {
26
        $this->name = $name;
27
    }
28
29
    public function getName() {
30
        return $this->name;
31
    }
32
}
33
34