src/FieldFactory.php
public function get(Table $table, array $info): Field
    {
        $className = $this->getClassName($info['name'], $info['type']);

        if (class_exists($className)) {
            $field = new $className($table, $info);
            $config = $this->fields[$className]['config'] ?? [];

            foreach ($config as $name => $value) {
                $field->setConfig($name, $value);
            }

            return $field;
        }

        throw new SimpleCrudException("No field class found for '{$className}'");
    }
public function get(Table $table, array $info): Field
    {
        $className = $this->getClassName($info['name'], $info['type']);

        if (class_exists($className)) {
            $field = new $className($table, $info);
            $config = $this->fields[$className]['config'] ?? [];

            foreach ($config as $name => $value) {
                $field->setConfig($name, $value);
            }

            return $field;
        }

        throw new SimpleCrudException("No field class found for '{$className}'");
    }
@see FieldFactoryInterface

{@inheritdoc}