Completed
Push — master ( d97b85...f43d1a )
by Timo
07:11
created

ColumnNotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace hamburgscleanest\DataTables\Exceptions;
4
5
/**
6
 * Class ColumnNotFoundException
7
 * @package hamburgscleanest\DataTables\Exceptions
8
 */
9
class ColumnNotFoundException extends \RuntimeException {
10
11
    /**
12
     * ColumnNotFoundException constructor.
13
     * @param string $columnName
14
     */
15 1
    public function __construct(string $columnName)
16
    {
17 1
        $message = $columnName . ': Column not found.';
18 1
        parent::__construct($message);
19
    }
20
}