Completed
Pull Request — master (#16)
by Matthijs
05:13
created

DiscoveredUri   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDepthFound() 0 4 1
A setDepthFound() 0 4 1
1
<?php
2
namespace VDB\Spider\Uri;
3
4
use VDB\Spider\Uri\UriDecorator;
5
6
/**
7
 * @author Matthijs van den Bos
8
 * @copyright 2013 Matthijs van den Bos
9
 */
10
class DiscoveredUri extends UriDecorator
11
{
12
    /** @var int */
13
    private $depthFound;
14
15
    /**
16
     * @return int The depth this Uri was found on
17
     */
18
    public function getDepthFound()
19
    {
20
        return $this->depthFound;
21
    }
22
23
    /**
24
     * @param int The depth this Uri was found on
25
     */
26
    public function setDepthFound($depthFound)
27
    {
28
        $this->depthFound = $depthFound;
29
    }
30
}
31