public __construct ( Piwik\Plugin\LogTablesProvider $logTablesProvider, array $tables ) | ||
$logTablesProvider | Piwik\Plugin\LogTablesProvider | |
$tables | array |
public function __construct(LogTablesProvider $logTablesProvider, $tables)
{
$this->logTableProvider = $logTablesProvider;
foreach ($tables as $table) {
$this->checkTableCanBeUsedForSegmentation($table);
}
$this->exchangeArray(array_values($tables));
}