-
Notifications
You must be signed in to change notification settings - Fork 0
API DataValidator FieldTypeRegistry
Christophe SAUVEUR edited this page Apr 21, 2024
·
1 revision
final class FieldTypeRegistry
Since 1.0
public static function registerClassForType(FieldType $type, string $className)
Registers a class name for a specific field type
Since 1.0
Name | Type | Description |
---|---|---|
$type |
FieldType |
Field type |
$className |
string |
Class name |
Exception | Reason |
---|---|
DataValidatorException |
If a class is already registered for this type |
Getting Started | Framework Reference | API Reference | MFX is released under the MIT license