UndefinedPropertyException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
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