Completed
Push — dynamic_siteaccesses ( 16c7ff )
by
unknown
20:23
created

SiteAccessGroup::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace eZ\Publish\Core\MVC\Symfony;
6
7
final class SiteAccessGroup
8
{
9
    /** @var string */
10
    private $name;
11
12
    public function __construct(string $name)
13
    {
14
        $this->name = $name;
15
    }
16
17
    public function getName(): string
18
    {
19
        return $this->name;
20
    }
21
22
    public function __toString()
23
    {
24
        return $this->name;
25
    }
26
}
27