Completed
Push — master ( 182551...fe6e5a )
by Freek
01:18
created

BladeXComponent::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Spatie\BladeX;
4
5
class BladeXComponent
6
{
7
    /** @var string */
8
    public $name;
9
10
    /** @var string */
11
    public $bladeViewName;
12
13
    public function __construct(string $name, string $bladeViewName)
14
    {
15
        $this->name = $name;
16
17
        $this->bladeViewName = $bladeViewName;
18
    }
19
}
20