ClearTableService
Read onlyYes
FinalYes
Service handling clearing and statistics of semi-persistent core tables.
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Table of Contents
Methods
- __construct() : mixed
- clearSelectedTable() : void
- Truncate a table from $this->tableList
- getTableStatistics() : array<string|int, mixed>
- Get an array of all affected tables, a short description and their row counts
Methods
__construct()
public
__construct(FailsafePackageManager $packageManager) : mixed
Parameters
- $packageManager : FailsafePackageManager
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<string|int, mixed>