Completed
Push — master ( 6dd3a0...ec39b9 )
by Níckolas Daniel
05:32
created

RobotsTxt::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace PODEntender\Domain\Model\FileProcessing\RobotsTxt;
4
5
class RobotsTxt
6
{
7
    private $sitemap;
8
    private $rulesSetCollection;
9
10
    public function __construct(string $sitemap, RulesSetCollection $rulesSetCollection)
11
    {
12
        $this->sitemap = $sitemap;
13
        $this->rulesSetCollection = $rulesSetCollection;
14
    }
15
16
    public function sitemap() : string
17
    {
18
        return $this->sitemap;
19
    }
20
21
    public function ruleSetCollection() : RulesSetCollection
22
    {
23
        return $this->rulesSetCollection;
24
    }
25
}
26