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

AtomContent::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
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