Completed
Pull Request — master (#152)
by Christopher
03:37
created

ODataExpandedResult   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Barnso
5
 * Date: 16/08/2017
6
 * Time: 5:41 AM.
7
 */
8
namespace POData\ObjectModel;
9
10
class ODataExpandedResult
11
{
12
    /**
13
     * Term.
14
     *
15
     * @var ODataEntry
16
     */
17
    public $entry;
18
19
    /**
20
     * Scheme.
21
     *
22
     * @var ODataFeed
23
     */
24
    public $feed;
25
26
    /**
27
     * ODataExpandedResult constructor.
28
     *
29
     * @param \POData\ObjectModel\ODataEntry|null $entry
30
     * @param \POData\ObjectModel\ODataFeed|null  $feed
31
     */
32
    public function __construct(ODataEntry $entry = null, ODataFeed $feed = null)
33
    {
34
        $this->entry = $entry;
35
        $this->feed = $feed;
36
    }
37
}
38