Completed
Pull Request — master (#4256)
by Craig
09:26 queued 03:36
created

HookEntityTrait::setSowner()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Zikula package.
7
 *
8
 * Copyright Zikula - https://ziku.la/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Zikula\Bundle\HookBundle\Entity;
15
16
/**
17
 * Hook entity trait.
18
 */
19
trait HookEntityTrait
20
{
21
    public function getId(): int
22
    {
23
        return $this->id;
24
    }
25
26
    public function setSowner(string $sowner): void
27
    {
28
        $this->sowner = $sowner;
0 ignored issues
show
Bug Best Practice introduced by
The property sowner does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
29
    }
30
31
    public function getSowner(): string
32
    {
33
        return $this->sowner;
34
    }
35
36
    public function setPowner(string $powner): void
37
    {
38
        $this->powner = $powner;
0 ignored issues
show
Bug Best Practice introduced by
The property powner does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
39
    }
40
41
    public function getPowner(): string
42
    {
43
        return $this->powner;
44
    }
45
46
    public function setSareaid(string $subscriberAreaId): void
47
    {
48
        $this->sareaid = $subscriberAreaId;
0 ignored issues
show
Bug Best Practice introduced by
The property sareaid does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
49
    }
50
51
    public function getSareaid(): string
52
    {
53
        return $this->sareaid;
54
    }
55
56
    public function setPareaid(string $providerAreaId): void
57
    {
58
        $this->pareaid = $providerAreaId;
0 ignored issues
show
Bug Best Practice introduced by
The property pareaid does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
59
    }
60
61
    public function getPareaid(): string
62
    {
63
        return $this->pareaid;
64
    }
65
}
66