| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Coverage | 66.67% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class MissingProviderException extends \Exception |
||
| 7 | { |
||
| 8 | private $label; |
||
| 9 | 1 | public function __construct(string $label) |
|
| 10 | { |
||
| 11 | 1 | parent::__construct("The content of the resource `$label` must be provided by some provider, but no provider is specified for it."); |
|
| 12 | 1 | $this->label = $label; |
|
| 13 | 1 | } |
|
| 14 | |||
| 15 | public function getLabel() : string |
||
| 18 | } |
||
| 19 | } |
||
| 20 |