@@ 381-387 (lines=7) @@ | ||
378 | * |
|
379 | * @return void |
|
380 | */ |
|
381 | protected function updateCreatedTableName($tableName, $newTableName) |
|
382 | { |
|
383 | $key = array_search($tableName, $this->createdTables); |
|
384 | if ($key !== false) { |
|
385 | $this->createdTables[$key] = $newTableName; |
|
386 | } |
|
387 | } |
|
388 | ||
389 | /** |
|
390 | * Removes table from the cached created list |
|
@@ 396-402 (lines=7) @@ | ||
393 | * |
|
394 | * @return void |
|
395 | */ |
|
396 | protected function removeCreatedTable($tableName) |
|
397 | { |
|
398 | $key = array_search($tableName, $this->createdTables); |
|
399 | if ($key !== false) { |
|
400 | unset($this->createdTables[$key]); |
|
401 | } |
|
402 | } |
|
403 | ||
404 | /** |
|
405 | * Check if the table is in the cached list of created tables |