Completed
Pull Request — master (#352)
by
unknown
04:54
created

AbstractImportImages::getImages()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace CultuurNet\UDB3\Offer\Commands\Image;
4
5
use CultuurNet\UDB3\Media\ImageCollection;
6
use CultuurNet\UDB3\Offer\Commands\AbstractCommand;
7
8
class AbstractImportImages extends AbstractCommand
9
{
10
    /**
11
     * @var ImageCollection
12
     */
13
    private $imageCollection;
14
15
    /**
16
     * @param string $itemId
17
     * @param ImageCollection $imageCollection
18
     */
19
    public function __construct($itemId, ImageCollection $imageCollection)
20
    {
21
        parent::__construct($itemId);
22
        $this->imageCollection = $imageCollection;
23
    }
24
25
    /**
26
     * @return ImageCollection
27
     */
28
    public function getImages()
29
    {
30
        return $this->imageCollection;
31
    }
32
}
33