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

EmptyAttributeException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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