CertificateNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 11
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Bunq\Certificate\Storage;
4
5
use Bunq\Certificate\CertificateType;
6
7
final class CertificateNotFoundException extends \Exception
8
{
9
    /**
10
     * @param CertificateType $certificateType
11
     * @param string          $path
12
     */
13
    public function __construct(CertificateType $certificateType, $path)
14
    {
15
        parent::__construct(sprintf('Could not find certificate "%s" in: %s', $certificateType->toString(), $path), 0, null);
16
    }
17
}
18