Completed
Push — master ( 68dcbb...4b885b )
by Matt
04:13
created

RecogniseImage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A getImageId() 0 2 1
1
<?php
2
3
namespace App\Message;
4
5
class RecogniseImage {
6
    /** @var int */
7
    private $imageId;
8
9
    public function __construct(int $imageId) {
10
        $this->imageId = $imageId;
11
    }
12
    public function getImageId(): int {
13
        return $this->imageId;
14
    }
15
}