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

AtomContent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Barnso
5
 * Date: 16/08/2017
6
 * Time: 4:25 AM.
7
 */
8
namespace POData\ObjectModel\AtomObjectModel;
9
10
class AtomContent
11
{
12
    /**
13
     * Title.
14
     *
15
     * @var string
16
     */
17
    public $type;
18
19
    /**
20
     * Type.
21
     *
22
     * @var string
23
     */
24
    public $src;
25
26
    public $properties;
27
28
    public function __construct($type, $src, $properties = null)
29
    {
30
        $this->src = $src;
31
        $this->type = $type;
32
        $this->properties = $properties;
33
    }
34
}
35