VerificationCodeResponse::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 5
rs 10
cc 1
nc 1
nop 3
1
<?php
2
3
namespace Rezahmady\Smsir\Responses;
4
5
class VerificationCodeResponse extends BaseResponse
6
{
7
    /**
8
     * @var string
9
     */
10
    public $verificationCodeId;
11
12
    public function __construct(bool $isSuccessful, string $message, string $verificationCodeId)
13
    {
14
        $this->isSuccessful = $isSuccessful;
15
        $this->message = $message;
16
        $this->verificationCodeId = $verificationCodeId;
17
    }
18
}
19