Completed
Push — master ( 8776c1...f76cd1 )
by Guillaume
02:25
created

UtilisateurArchiveEntity   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getIsArchive() 0 4 1
A setIsArchive() 0 4 1
1
<?php
2
3
namespace Starkerxp\StructureBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @ORM\MappedSuperclass
9
 */
10
abstract class UtilisateurArchiveEntity extends UtilisateurEntity implements ArchiveInterface
11
{
12
13
    /**
14
     * @var boolean
15
     *
16
     * @ORM\Column(name="is_archive", type="boolean", nullable=true, options={"default":0})
17
     */
18
    protected $isArchive = false;
19
    
20
    public function getIsArchive()
21
    {
22
        return $this->isArchive;
23
    }
24
25
    public function setIsArchive($isArchive)
26
    {
27
        $this->isArchive = $isArchive;
28
    }
29
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
30