private function collectChecks(TableDiff $tableDiff)
    {
        foreach ($tableDiff->getCreatedChecks() as $check) {
            $this->createCheckQueries = array_merge(
                $this->createCheckQueries,
                $this->platform->getCreateCheckSQLQueries($check, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getDroppedChecks() as $check) {
            $this->dropCheckQueries = array_merge(
                $this->dropCheckQueries,
                $this->platform->getDropCheckSQLQueries($check, $tableDiff->getNewAsset()->getName())
            );
        }
    }
private function collectChecks(TableDiff $tableDiff)
    {
        foreach ($tableDiff->getCreatedChecks() as $check) {
            $this->createCheckQueries = array_merge(
                $this->createCheckQueries,
                $this->platform->getCreateCheckSQLQueries($check, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getDroppedChecks() as $check) {
            $this->dropCheckQueries = array_merge(
                $this->dropCheckQueries,
                $this->platform->getDropCheckSQLQueries($check, $tableDiff->getNewAsset()->getName())
            );
        }
    }
private function collectChecks ( TableDiff $ tableDiff ) { foreach ( $ tableDiff -> getCreatedChecks ( ) as $ check ) { $ this -> createCheckQueries = array_merge ( $ this -> createCheckQueries , $ this -> platform -> getCreateCheckSQLQueries ( $ check , $ tableDiff -> getNewAsset ( ) -> getName ( ) ) ) ; } foreach ( $ tableDiff -> getDroppedChecks ( ) as $ check ) { $ this -> dropCheckQueries = array_merge ( $ this -> dropCheckQueries , $ this -> platform -> getDropCheckSQLQueries ( $ check , $ tableDiff -> getNewAsset ( ) -> getName ( ) ) ) ; } }
Collects queries about checks to alter a table.

@param \Fridge\DBAL\Schema\Diff\TableDiff $tableDiff The table difference.
Collects queries about checks to alter a table .