ModelWasRegistered::__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
declare(strict_types=1);
4
5
/**
6
 * Contains the ModelWasRegistered class.
7
 *
8
 * @copyright   Copyright (c) 2017 Attila Fulop
9
 * @author      Attila Fulop
10
 * @license     MIT
11
 * @since       2017-09-15
12
 *
13
 */
14
15
namespace Konekt\Concord\Events;
16
17
class ModelWasRegistered
18
{
19
    /** @var  string */
20
    public $abstract;
21
22
    /** @var  string */
23
    public $concrete;
24
25
    /** @var  bool */
26
    public $routeModelWasRegistered;
27
28
    public function __construct($abstract, $concrete, $routeModelWasRegistered)
29
    {
30
        $this->abstract = $abstract;
31
        $this->concrete = $concrete;
32
        $this->routeModelWasRegistered = $routeModelWasRegistered;
33
    }
34
}
35