Completed
Pull Request — master (#334)
by Luc
04:09
created

AbstractAddImage::getImageId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace CultuurNet\UDB3\Offer\Commands\Image;
4
5
use CultuurNet\UDB3\Offer\Commands\AbstractCommand;
6
use ValueObjects\Identity\UUID;
7
8
abstract class AbstractAddImage extends AbstractCommand
9
{
10
    /**
11
     * @var UUID
12
     */
13
    protected $imageId;
14
15
    public function __construct($itemId, UUID $imageId)
16
    {
17
        parent::__construct($itemId);
18
        $this->imageId = $imageId;
19
    }
20
21
    /**
22
     * @return UUID
23
     */
24
    public function getImageId()
25
    {
26
        return $this->imageId;
27
    }
28
}
29