TableInfo

final readonly class \TYPO3\CMS\Core\Database\Schema\Information\TableInfo

Provides reduced table information compared to {@see Table} and intended to be cacheable.

Table of Contents

Methods

__construct()  : mixed
getColumnInfo()  : ColumnInfo|null
getColumnInfos()  : array<string, ColumnInfo>
getColumnNames()  : array
getName()  : string
hasColumnInfo()  : bool

Methods

__construct()

public __construct(string $name, array<string, ColumnInfo> $columnInfos) : mixed

Parameters

$name : string
$columnInfos : array<string, ColumnInfo>

getColumnNames()

public getColumnNames() : array

Return values

array

getName()

public getName() : string

Return values

string

hasColumnInfo()

public hasColumnInfo(string $columnName) : bool

Parameters

$columnName : string

Return values

bool
On this page