ClearTableService

final readonly class \TYPO3\CMS\Install\Service\ClearTableService

Service handling clearing and statistics of semi-persistent core tables.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
clearSelectedTable()  : void
Truncate a table from $this->tableList
getTableStatistics()  : array
Get an array of all affected tables, a short description and their row counts

Methods

clearSelectedTable()

Truncate a table from $this->tableList

public clearSelectedTable(string $tableName) : void

Parameters

$tableName : string

getTableStatistics()

Get an array of all affected tables, a short description and their row counts

public getTableStatistics() : array

Return values

array
On this page