UnresolvableDependency::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace evelikto\di;
4
5
/** Is thrown when no dependency exists or can be created for the supplied name. */
6
class UnresolvableDependency extends DiException
7
{
8
	/** @param	string	$name	Name of the dependency. */
9
	public function __construct(string $name) {
10
		parent::__construct(['name' => $name]);
11
	}
12
}