Completed
Push — feature/EVO-8294-file-upload-r... ( ebbdfa )
by
unknown
63:34
created

ArchiveLinks::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * document class for GravitonDyn\FileBundle\Document\FileLinks
4
 */
5
6
namespace Graviton\ArchiveBundle\Document;
7
8
/**
9
 * @author   List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
10
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
11
 * @link     http://swisscom.ch
12
 */
13
class ArchiveLinks
14
{
15
16
    /**
17
     * @var mixed $id
18
     */
19
    protected $id;
20
21
    /**
22
     * @var MongoId $id
23
     */
24
    protected $realId;
25
26
    /**
27
     * @var \DateTime $deletedDate
28
     */
29
    protected $deletedDate;
30
31
32
    /**
33
     * @var string $type
34
     */
35
    protected $type;
36
37
    /**
38
     * @var extref $ref
39
     */
40
    protected $ref;
41
42
    /**
43
     * Get id
44
     *
45
     * @return string $id
46
     */
47
    public function getId()
48
    {
49
        return $this->id;
50
    }
51
52
    /**
53
     * Set id
54
     *
55
     * @param mixed $id id
56
     *
57
     * @return void
58
     */
59
    public function setId($id)
60
    {
61
        $this->id = $id;
62
    }
63
64
    /**
65
     * Get realId
66
     *
67
     * @return string $id
0 ignored issues
show
Documentation introduced by
Should the return type not be MongoId?

This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.

Loading history...
68
     */
69
    public function getRealId()
70
    {
71
        return $this->realId;
72
    }
73
74
    /**
75
     * Get type
76
     *
77
     * @return string $type
78
     */
79
    public function getType()
80
    {
81
        return $this->type;
82
    }
83
84
    /**
85
     * Set type
86
     *
87
     * @param string $type value for type
88
     *
89
     * @return self
90
     */
91
    public function setType($type)
92
    {
93
        $this->type = $type;
94
95
        return $this;
96
    }
97
98
99
    /**
100
     * Get ref
101
     *
102
     * @return extref $ref
103
     */
104
    public function getRef()
105
    {
106
        return $this->ref;
107
    }
108
109
    /**
110
     * Set ref
111
     *
112
     * @param extref $ref value for ref
113
     *
114
     * @return self
115
     */
116
    public function setRef($ref)
117
    {
118
        $this->ref = $ref;
119
120
        return $this;
121
    }
122
123
}
124