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