UndefinedPropertyException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Anfischer\Dto\Exceptions;
5
6
class UndefinedPropertyException extends DtoException
7
{
8
    /**
9
     * @param string $class
10
     * @param string $property
11
     */
12
    public function __construct(string $class, string $property)
13
    {
14
        parent::__construct("${class}::${property} is undefined");
15
    }
16
}
17