Completed
Push — v4.0-dev ( b01e70 )
by
unknown
01:53
created

PropArgs::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace League\Plates\RenderContext;
4
5
use League\Plates;
6
7
class PropArgs extends AbstractArgs
8
{
9
    public $prop_name;
10
11
    public function __construct(Plates\RenderTemplate $render, Plates\Template $template, $prop_name) {
12
        parent::__construct($render, $template);
13
        $this->prop_name = $prop_name;
14
    }
15
16
    public function getName() {
17
        return $this->prop_name;
18
    }
19
}
20