| @@ 568-579 (lines=12) @@ | ||
| 565 | /** | |
| 566 |      * {@inheritdoc} | |
| 567 | */ | |
| 568 | public function hasIndexByName($tableName, $indexName) | |
| 569 |     { | |
| 570 | $indexes = $this->getIndexes($tableName); | |
| 571 | ||
| 572 |         foreach ($indexes as $name => $index) { | |
| 573 |             if ($name === $indexName) { | |
| 574 | return true; | |
| 575 | } | |
| 576 | } | |
| 577 | ||
| 578 | return false; | |
| 579 | } | |
| 580 | ||
| 581 | /** | |
| 582 |      * {@inheritdoc} | |
| @@ 738-749 (lines=12) @@ | ||
| 735 | /** | |
| 736 |      * {@inheritdoc} | |
| 737 | */ | |
| 738 | public function hasIndexByName($tableName, $indexName) | |
| 739 |     { | |
| 740 | $indexes = $this->getIndexes($tableName); | |
| 741 | ||
| 742 |         foreach ($indexes as $name => $index) { | |
| 743 |             if ($name === $indexName) { | |
| 744 | return true; | |
| 745 | } | |
| 746 | } | |
| 747 | ||
| 748 | return false; | |
| 749 | } | |
| 750 | ||
| 751 | /** | |
| 752 |      * {@inheritdoc} | |
| @@ 667-677 (lines=11) @@ | ||
| 664 | /** | |
| 665 |      * {@inheritdoc} | |
| 666 | */ | |
| 667 | public function hasIndexByName($tableName, $indexName) | |
| 668 |     { | |
| 669 | $indexes = $this->getIndexes($tableName); | |
| 670 |         foreach ($indexes as $name => $index) { | |
| 671 |             if ($name === $indexName) { | |
| 672 | return true; | |
| 673 | } | |
| 674 | } | |
| 675 | ||
| 676 | return false; | |
| 677 | } | |
| 678 | ||
| 679 | /** | |
| 680 |      * {@inheritdoc} | |