StorageFactoryNotDefined   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
namespace evelikto\di\storage;
4
5
/** Is thrown when a required factory method is missing, thus providing no storage for an active scope */
6
class StorageFactoryNotDefined extends \evelikto\di\DiException
7
{
8
	/** @param	string	$name	Name of the required factory */
9
	public function __construct(string $name) {
10
		parent::__construct(['name' => $name]);
11
	}
12
}