Passed
Push — master ( 1fd91b...909177 )
by Ivan
01:58
created

ContainerNotFoundException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Everlution\Navigation\Nested\Container;
6
7
/**
8
 * Class ContainerNotFoundException.
9
 *
10
 * @author Martin Lutter <[email protected]>
11
 */
12
class ContainerNotFoundException extends \Exception
13
{
14
    public function __construct(string $name)
15
    {
16
        parent::__construct("$name container was not found");
17
    }
18
}
19