class Configuration (View source)

Configuration container for the Doctrine DBAL.

Properties

protected array $_attributes The attributes that are contained in the configuration.

Methods

void
setSQLLogger(SQLLogger $logger = null)

Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.

getSQLLogger()

Gets the SQL logger that is used.

Cache|null
getResultCacheImpl()

Gets the cache driver implementation that is used for query result caching.

void
setResultCacheImpl(Cache $cacheImpl)

Sets the cache driver implementation that is used for query result caching.

void
setFilterSchemaAssetsExpression(string $filterExpression)

Sets the filter schema assets expression.

string|null
getFilterSchemaAssetsExpression()

Returns filter schema assets expression.

Details

void setSQLLogger(SQLLogger $logger = null)

Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.

Parameters

SQLLogger $logger

Return Value

void

SQLLogger getSQLLogger()

Gets the SQL logger that is used.

Return Value

SQLLogger

Cache|null getResultCacheImpl()

Gets the cache driver implementation that is used for query result caching.

Return Value

Cache|null

void setResultCacheImpl(Cache $cacheImpl)

Sets the cache driver implementation that is used for query result caching.

Parameters

Cache $cacheImpl

Return Value

void

void setFilterSchemaAssetsExpression(string $filterExpression)

Sets the filter schema assets expression.

Only include tables/sequences matching the filter expression regexp in schema instances generated for the active connection when calling {AbstractSchemaManager#createSchema()}.

Parameters

string $filterExpression

Return Value

void

string|null getFilterSchemaAssetsExpression()

Returns filter schema assets expression.

Return Value

string|null