com\setasign\Konquadrat\Config\Builder
DatabaseBuilder Describes a logger-aware instance.
File: /Konquadrat/src/Config/Builder/DatabaseBuilder.php
Class hierarchy
Implements
- \Psr\Log\LoggerAwareInterface
Summary
Properties
$logger
protected ?\Psr\Log\LoggerInterface DatabaseBuilder::$logger
Methods
build()
buildStructure()
Parameters
- $config: \com\setasign\SetaFramework\Config\Config
- $withDefaultStructure: bool
Exceptions
Throws \Throwable
checkData()
Checks and repairs the consistency of related tables.
If an object type is extended with another template the table has to be filled with the IDs of the origin table to keep inner-joins working.
createDatabaseField()
protected DatabaseBuilder::createDatabaseField (): ?\com\setasign\SetaFramework\Database\Manager\Column\AbstractColumn
Parameters
- $fieldConfig: \com\setasign\SetaFramework\Config\Config
- $tableName: string
