| Methods | ||
|---|---|---|
public
|
__construct(string $tableName)
|
# |
public
|
__debugInfo(): array<string, mixed>
|
# |
protected
|
assertValidIdentifier(string $name): void
|
# |
protected
|
assertValidValue(mixed $value): void
|
# |
public
|
getTableName(): string
|
# |
public
|
hasColumnName(string $columnName): bool
|
# |
public
|
assertHasColumnName(string $columnName): void
|
# |
public
|
addColumnName(string $columnName): $this
|
# |
public
|
getColumnNames(): array<int, string>
|
# |
public
|
hasRow(int $rowIndex): bool
|
# |
public
|
getRow(int $rowIndex): Row
|
# |
public
|
addRow(class-string<Row> $rowClass, array<string, mixed> $rowData): Row
|
# |
public
|
deleteRow(Row $row): void
|
# |
public
|
getRows(): Traversable<Row>
|
# |
protected
|
beforeValuesSet(Row $childRow, array<string, mixed> $newRowData): void
|
# |
public
|
getRowById(Model $model, mixed $idRaw): ?Row
|
# |
| Properties | |||
|---|---|---|---|
private
|
string
|
$tableName
|
# |
private
|
array<string, string>
|
$columnNames = []
|
# |
private
|
array<int, Row>
|
$rows = []
|
# |