ClassNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 6
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
/*
3
 * citeproc-php
4
 *
5
 * @link        http://github.com/seboettg/citeproc-php for the source repository
6
 * @copyright   Copyright (c) 2016 Sebastian Böttger.
7
 * @license     https://opensource.org/licenses/MIT
8
 */
9
10
namespace Seboettg\CiteProc\Exception;
11
12
use Exception;
13
14
/**
15
 * Class ClassNotFoundException
16
 * @package Seboettg\CiteProc\Exception
17
 *
18
 * @codeCoverageIgnore
19
 *
20
 * @author Sebastian Böttger <[email protected]>
21
 */
22
class ClassNotFoundException extends CiteProcException
23
{
24
25
    public function __construct($class, $code = 0, Exception $previous = null)
26
    {
27
        parent::__construct("Class \"$class\" could not be found.", $code, $previous);
28
    }
29
}
30