ScraperNotExists   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace Aoe\Asdis\Content\Scraper\Exception;
3
4
/**
5
 * Is thrown when a requested scraper does not exist.
6
 */
7
class ScraperNotExists extends \Exception
8
{
9
    /**
10
     * @param string $filterKey
11
     */
12
    public function __construct($filterKey)
13
    {
14
        parent::__construct('Scraper with the key ' . $filterKey . ' does not exist.', 1371818682112);
15
    }
16
}