Completed
Push — development ( 6cef7f...24186c )
by Claudio
02:21
created

Question   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 28
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace App\Models;
4
5
/**
6
 * Class Question
7
 * @package App\Models
8
 */
9
class Question
10
{
11
    /**
12
     * Question Identifier (One or Two)
13
     *
14
     * @var int
15
     */
16
    public $questionId = 1;
17
18
    /**
19
     * Question Key (Translate Text)
20
     *
21
     * @var string
22
     */
23
    public $questionKey = '';
24
25
    /**
26
     * Store a Question
27
     *
28
     * @param int $questionId
29
     * @param string $questionKey
30
     */
31
    public function __construct(int $questionId, string $questionKey)
32
    {
33
        $this->questionId = $questionId;
34
        $this->questionKey = $questionKey;
35
    }
36
}
37