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

ArchiveMetadataAction::setCommand()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
/**
3
 * document class for GravitonDyn\FileBundle\Document\FileMetadataAction
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 ArchiveMetadataAction
14
{
15
16
    /**
17
     * @var mixed $id
18
     */
19
    protected $id;
20
21
    /**
22
     * @var \DateTime $deletedDate
23
     */
24
    protected $deletedDate;
25
26
    /**
27
     * @var string $command
28
     */
29
    protected $command;
30
31
    /**
32
     * Get id
33
     *
34
     * @return string $id
35
     */
36
    public function getId()
37
    {
38
        return $this->id;
39
    }
40
41
    /**
42
     * Set id
43
     *
44
     * @param mixed $id id
45
     *
46
     * @return void
47
     */
48
    public function setId($id)
49
    {
50
        $this->id = $id;
51
    }
52
53
    /**
54
     * @return \DateTime
55
     */
56
    public function getDeleteddate()
57
    {
58
        return $this->deletedDate;
59
    }
60
61
    /**
62
     * Get command
63
     *
64
     * @return string $command
65
     */
66
    public function getCommand()
67
    {
68
        return $this->command;
69
    }
70
71
    /**
72
     * Set command
73
     *
74
     * @param string $command value for command
75
     *
76
     * @return self
77
     */
78
    public function setCommand($command)
79
    {
80
        $this->command = $command;
81
82
        return $this;
83
    }
84
}
85