Completed
Push — master ( 33ee7a...35da7e )
by Gabriel
565:17 queued 500:16
created

BucketLogBucket::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace WMDE\Fundraising\Frontend\BucketTesting\Domain\Model;
6
7
class BucketLogBucket {
8
9
	private int $id;
10
	private BucketLog $bucketLog;
11
	private string $name;
12
	private string $campaign;
13
14
	public function __construct( string $name, string $campaign ) {
15
		$this->name = $name;
16
		$this->campaign = $campaign;
17
	}
18
19
	public function getId(): int {
20
		return $this->id;
21
	}
22
23
	public function getBucketLog(): BucketLog {
24
		return $this->bucketLog;
25
	}
26
27
	public function getName(): string {
28
		return $this->name;
29
	}
30
31
	public function getCampaign(): string {
32
		return $this->campaign;
33
	}
34
35
	public function setBucketLog( BucketLog $bucketLog ): BucketLogBucket {
36
		$this->bucketLog = $bucketLog;
37
		return $this;
38
	}
39
}
40