RobotsTxt::ruleSetCollection()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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