Completed
Pull Request — master (#44)
by
unknown
06:33
created

RelatedDates::getAcceptanceDateTime()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Genkgo\Camt\DTO;
4
5
/**
6
 * Class RelatedDates
7
 * @package Genkgo\Camt\DTO
8
 */
9
class RelatedDates
10
{
11
    
12
    /**
13
     * @var AcceptanceDateTime
14
     */
15
    private $acceptanceDateTime;
16
17
    /**
18
     * @return AcceptanceDateTime
19
     */
20
    public function getAcceptanceDateTime()
21
    {
22
        return $this->acceptanceDateTime;
23
    }
24
25
    /**
26
     * @param $acceptanceDateTime
27
     *
28
     * @return static
29
     */
30
    public static function fromUnstructured($acceptanceDateTime)
31
    {
32
        $information = new static;
33
        $information->acceptanceDateTime = $acceptanceDateTime;
34
        return $information;
35
    }
36
37
}
38