Merx

TaxRulesField::resolve()

Resolves a field type to its class name

TaxRulesField::resolve(string $type, null|string $name = null): class-string<static>

Parameters

Name Type Default
$type string -
$name null or string null

Return type

class-string<static>

Exceptions

Type Description
InvalidArgumentException if the type is unknown, not a field class or its constructor does not accept all props

Parent class

Wagnerwagner\Merx\TaxRulesField inherited from Kirby\Form\Field