AdapterNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of cloak.
5
 *
6
 * (c) Noritaka Horio <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace cloak\analyzer\adapter;
13
14
use Exception;
15
16
17
/**
18
 * Class AdapterNotFoundException
19
 * @package cloak\analyzer\adapter
20
 */
21
class AdapterNotFoundException extends Exception
22
{
23
24
    /**
25
     * @param array $messages
26
     */
27
    public function __construct(array $messages)
28
    {
29
        parent::__construct(implode("\n", $messages));
30
    }
31
32
}
33