Completed
Push — master ( 5d7e29...cc6f2d )
by Marcus
02:36
created

MixinProperty   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 26
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPath() 0 4 1
A getArgs() 0 4 1
A getSuffix() 0 4 1
1
<?php
2
3
namespace LesserPhp\Property;
4
5
/**
6
 * lesserphp
7
 * https://www.maswaba.de/lesserphp
8
 *
9
 * LESS CSS compiler, adapted from http://lesscss.org
10
 *
11
 * Copyright 2013, Leaf Corcoran <[email protected]>
12
 * Copyright 2016, Marcus Schwarz <[email protected]>
13
 * Copyright 2017, Stefan Pöhner <[email protected]>
14
 * Licensed under MIT or GPLv3, see LICENSE
15
 *
16
 * @author  Stefan Pöhner <[email protected]>
17
 *
18
 * @package LesserPhp
19
 */
20
21
class MixinProperty extends \LesserPhp\Property
22
{
23
    /**
24
     * @return string
25
     */
26
    public function getPath()
27
    {
28
        return $this->getValue1();
29
    }
30
31
    /**
32
     * @return array
33
     */
34
    public function getArgs()
35
    {
36
        return (array)$this->getValue2();
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getSuffix()
43
    {
44
        return $this->getValue3();
45
    }
46
}
47