PropertyNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
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 15
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 Proengsoft\JsValidation\Exceptions;
4
5
use Exception;
6
7
class PropertyNotFoundException extends Exception
8
{
9
    /**
10
     * Property Not Found Exception.
11
     *
12
     * @param string    $property
13
     * @param string    $caller
14
     * @param \Exception $previous
15
     */
16 12
    public function __construct($property = '', $caller = '', Exception $previous = null)
17
    {
18 12
        $message = "'$property' not found in '$caller'' object";
19 12
        parent::__construct($message, 0, $previous);
20 12
    }
21
}
22