TypeField
Less than 1 minute
TypeField
Represents a single attribute of a composite database type.
class TypeField extends \Hazaar\DBI\Manager\Migration\Action\Component\BaseComponentExtends: Hazaar\DBI\Manager\Migration\Action\Component\BaseComponent
Encapsulates the name and data type of one field within a CREATE TYPE ... AS (...) definition.
Properties
name
The name of the field.
public string $nameType: string
type
The data type of the field.
public string $typeType: string
Methods
changed
Determines if the field has changed compared to another field instance.
public changed(BaseComponent $field): ?BaseComponentReturns: Hazaar\DBI\Manager\Migration\Action\Component\BaseComponent
Parameters
| Parameter | Type | Description |
|---|---|---|
$field | Hazaar\DBI\Manager\Migration\Action\Component\BaseComponent | the field to compare against |
Generated by Hazaar API Doc Generator on Sun, 08 Nov 2026 03:36:14 +0000