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

Success   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getConference() 0 4 1
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