FieldTemplate implements Template
FinalYes
Table of Contents
Interfaces
Methods
- __construct() : mixed
- getContent() : string
- getUsedClasses() : array<string|int, mixed>
Methods
__construct()
public
__construct(string $columnName, string $typeOrm, bool $isPrimary, bool $isUnique, bool $isIncrement, bool $isNullable, mixed $defaultValue, int|null $size, int|null $maxLength) : mixed
Parameters
- $columnName : string
- $typeOrm : string
- $isPrimary : bool
- $isUnique : bool
- $isIncrement : bool
- $isNullable : bool
- $defaultValue : mixed
- $size : int|null
-
is database type size
- $maxLength : int|null
-
is string max length
getContent()
public
getContent() : string
Return values
stringgetUsedClasses()
public
getUsedClasses() : array<string|int, mixed>