Test Setup Failed
Push — master ( 8541a6...56b423 )
by Alex
04:32
created

ODataCategory::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace POData\ObjectModel;
4
5
class ODataCategory
6
{
7
    /**
8
     * Term.
9
     *
10
     * @var string
11
     */
12
    public $term;
13
14
    /**
15
     * Scheme
16
     *
17
     * @var string
18
     */
19
    public $scheme;
20
21
    public function __construct($term, $scheme = 'http://schemas.microsoft.com/ado/2007/08/dataservices/scheme')
22
    {
23
        $this->term = $term;
24
        $this->scheme = $scheme;
25
    }
26
}
27