Completed
Push — master ( 52ead2...fd316a )
by David
12s queued 10s
created

EmptyAttributeException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace TheAentMachine\AentDockerCompose\Service\Exception;
4
5
class EmptyAttributeException extends ServiceException
6
{
7
    /** @var string */
8
    private $emptyAttribute;
9
10
    public function __construct(string $emptyAttribute)
11
    {
12
        $this->emptyAttribute = $emptyAttribute;
13
        parent::__construct("empty attribute inside service : " . $emptyAttribute);
14
    }
15
}
16