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

ODataCategory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 22
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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