| @@ 287-293 (lines=7) @@ | ||
| 284 | * @param string $newTableName New name of the table |
|
| 285 | * @return void |
|
| 286 | */ |
|
| 287 | protected function updateCreatedTableName($tableName, $newTableName) |
|
| 288 | { |
|
| 289 | $key = array_search($tableName, $this->createdTables); |
|
| 290 | if ($key !== false) { |
|
| 291 | $this->createdTables[$key] = $newTableName; |
|
| 292 | } |
|
| 293 | } |
|
| 294 | ||
| 295 | /** |
|
| 296 | * Removes table from the cached created list |
|
| @@ 301-307 (lines=7) @@ | ||
| 298 | * @param string $tableName The name of the table |
|
| 299 | * @return void |
|
| 300 | */ |
|
| 301 | protected function removeCreatedTable($tableName) |
|
| 302 | { |
|
| 303 | $key = array_search($tableName, $this->createdTables); |
|
| 304 | if ($key !== false) { |
|
| 305 | unset($this->createdTables[$key]); |
|
| 306 | } |
|
| 307 | } |
|
| 308 | ||
| 309 | /** |
|
| 310 | * Check if the table is in the cached list of created tables |
|