Completed
Push — master ( 1ee71b...37d1e0 )
by Freek
01:43
created

InvalidConfiguration::invalidValueProviderClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Spatie\MailableTest\Exceptions;
4
5
use Exception;
6
use Spatie\MailableTest\ArgumentValueProvider;
7
8
class InvalidConfiguration extends Exception
9
{
10
    public static function invalidValueProviderClass(string $className)
11
    {
12
        return new static("The `argument_value_provider_class` config value is invalid. Given class `{$className}` does not extend `" . ArgumentValueProvider::class . "`.");
13
    }
14
}