SchemaInformation
FinalYes
This wrapper of SchemaManager contains some internal caches to avoid performance issues for recurring calls to specific schema related information. This should only be used in context where no changes are expected to happen.
This class is only for internal core usage and is not part of the public core API.
Table of Contents
Methods
- __construct() : mixed
- getTableInfo() : TableInfo
- listTableColumnInfos() : array<string, ColumnInfo>
- listTableColumnNames() : array<string|int, string>
- listTableNames() : array<string|int, string>
- Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.
Methods
__construct()
    public
                    __construct(Connection $connection, FrontendInterface $runtime, FrontendInterface $cache, PackageDependentCacheIdentifier $packageDependentCacheIdentifier) : mixed
    Parameters
- $connection : Connection
- $runtime : FrontendInterface
- $cache : FrontendInterface
- $packageDependentCacheIdentifier : PackageDependentCacheIdentifier
getTableInfo()
    public
                    getTableInfo(string $tableName) : TableInfo
    Parameters
- $tableName : string
Return values
TableInfolistTableColumnInfos()
    public
                    listTableColumnInfos(string $tableName) : array<string, ColumnInfo>
    Parameters
- $tableName : string
Return values
array<string, ColumnInfo>listTableColumnNames()
    public
                    listTableColumnNames(string $tableName) : array<string|int, string>
    Parameters
- $tableName : string
Return values
array<string|int, string>listTableNames()
Similar to doctrine DBAL/AbstractSchemaManager, but with a cache-layer.
    public
                    listTableNames() : array<string|int, string>
    This is used core internally to auto-add types, for instance in Connection::insert().