Completed
Push — master ( b38731...5d7e29 )
by Marcus
02:03
created

Directive::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace LesserPhp\Block;
3
4
/**
5
 * lesserphp
6
 * https://www.maswaba.de/lesserphp
7
 *
8
 * LESS CSS compiler, adapted from http://lesscss.org
9
 *
10
 * Copyright 2013, Leaf Corcoran <[email protected]>
11
 * Copyright 2016, Marcus Schwarz <[email protected]>
12
 * Copyright 2017, Stefan Pöhner <[email protected]>
13
 * Licensed under MIT or GPLv3, see LICENSE
14
 *
15
 * @package LesserPhp
16
 */
17
use LesserPhp\Block;
18
19
class Directive extends Block
20
{
21
    /**
22
     * @var string
23
     */
24
    public $name;
25
26
    /**
27
     * @var mixed
28
     */
29
    public $value;
30
31
    /**
32
     * @inheritdoc
33
     */
34
    public function getType()
35
    {
36
        return 'directive';
37
    }
38
}
39