Completed
Pull Request — master (#45)
by Laurent
04:03
created

Company   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 52
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setStatus() 0 6 1
A getStatus() 0 4 1
1
<?php
2
3
/**
4
 * Entité Company.
5
 *
6
 * PHP Version 5
7
 *
8
 * @author     Quétier Laurent <[email protected]>
9
 * @copyright  2014 Dev-Int GLSR
10
 * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
11
 *
12
 * @version    since 1.0.0
13
 *
14
 * @link       https://github.com/Dev-Int/glsr
15
 */
16
namespace AppBundle\Entity;
17
18
use Doctrine\ORM\Mapping as ORM;
19
20
/**
21
 * Company Entité Company.
22
 *
23
 * @category   Entity
24
 *
25
 * @ORM\Table(name="gs_company")
26
 * @ORM\Entity(repositoryClass="AppBundle\Entity\CompanyRepository")
27
 */
28
class Company extends Contact
29
{
30
    /**
31
     * @var int id de l'entreprise
32
     *
33
     * @ORM\Column(name="id", type="integer")
34
     * @ORM\Id
35
     * @ORM\GeneratedValue(strategy="AUTO")
36
     */
37
    private $id;
38
39
    /**
40
     * @var string Statut de l'entreprise
41
     *
42
     * @ORM\Column(name="status", type="string", length=255)
43
     */
44
    private $status;
45
46
    /**
47
     * Get id
48
     *
49
     * @return integer
50
     */
51
    public function getId()
52
    {
53
        return $this->id;
54
    }
55
56
    /**
57
     * Set status.
58
     *
59
     * @param string $status Statut juridique
60
     *
61
     * @return Company
62
     */
63
    public function setStatus($status)
64
    {
65
        $this->status = $status;
66
67
        return $this;
68
    }
69
70
    /**
71
     * Get status.
72
     *
73
     * @return string
74
     */
75
    public function getStatus()
76
    {
77
        return $this->status;
78
    }
79
}
80