Completed
Pull Request — master (#35)
by Andreas
01:43
created

Success::getConference()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * Copyright (c) Andreas Heigl<[email protected]
5
 *
6
 * Licensed under the MIT License. See LICENSE.md file in the project root
7
 * for full license information.
8
 */
9
10
namespace Callingallpapers\ResultKeeper;
11
12
abstract class Success implements Result
13
{
14
    private $conference;
15
16
    public function __construct(string $conference)
17
    {
18
        $this->conference = $conference;
19
    }
20
21
    public function getConference(): string
22
    {
23
        return $this->conference;
24
    }
25
}
26