RecogniseImage::getOverwrite()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
namespace App\Message;
4
5
class RecogniseImage {
6
    /** @var int */
7
    private $imageId;
8
9
    /** @var bool */
10
    private $overwrite;
11
12
    public function __construct(int $imageId, bool $overwrite = false) {
13
        $this->imageId = $imageId;
14
        $this->overwrite = $overwrite;
15
    }
16
    public function getImageId(): int {
17
        return $this->imageId;
18
    }
19
    public function getOverwrite(): bool {
20
        return $this->overwrite;
21
    }
22
}