Completed
Push — master ( c21b15...51d90f )
by Alexander
01:37
created

Device   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 42
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getBoundBy() 0 4 1
A setBoundBy() 0 5 1
A getSysFSPath() 0 4 1
A setSysFSPath() 0 5 1
1
<?php
2
3
namespace CyberLine\SystemdState\Types;
4
5
class Device extends AbstractType
6
{
7
    private $BoundBy;
8
9
    private $SysFSPath;
10
11
    /**
12
     * @return mixed
13
     */
14
    public function getBoundBy()
15
    {
16
        return $this->BoundBy;
17
    }
18
19
    /**
20
     * @param mixed $BoundBy
21
     * @return Device
22
     */
23
    public function setBoundBy($BoundBy)
0 ignored issues
show
Coding Style Naming introduced by
The parameter $BoundBy is not named in camelCase.

This check marks parameter names that have not been written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes databaseConnectionString.

Loading history...
Coding Style Naming introduced by
The variable $BoundBy is not named in camelCase.

This check marks variable names that have not been written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes databaseConnectionString.

Loading history...
24
    {
25
        $this->BoundBy = $BoundBy;
26
        return $this;
27
    }
28
29
    /**
30
     * @return mixed
31
     */
32
    public function getSysFSPath()
33
    {
34
        return $this->SysFSPath;
35
    }
36
37
    /**
38
     * @param mixed $SysFSPath
39
     * @return Device
40
     */
41
    public function setSysFSPath($SysFSPath)
0 ignored issues
show
Coding Style Naming introduced by
The parameter $SysFSPath is not named in camelCase.

This check marks parameter names that have not been written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes databaseConnectionString.

Loading history...
Coding Style Naming introduced by
The variable $SysFSPath is not named in camelCase.

This check marks variable names that have not been written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes databaseConnectionString.

Loading history...
42
    {
43
        $this->SysFSPath = $SysFSPath;
44
        return $this;
45
    }
46
}
47