Propel 2 API
Class

Propel\Generator\Model\Diff\IndexComparator

class IndexComparator

Service class for comparing Index objects Heavily inspired by Doctrine2's Migrations (see http://github.com/doctrine/dbal/tree/master/lib/Doctrine/DBAL/Schema/)

Methods

static boolean computeDiff(Index $fromIndex, Index $toIndex, boolean $caseInsensitive = false)

Computes the difference between two index objects.

Details

at line 30
static public boolean computeDiff(Index $fromIndex, Index $toIndex, boolean $caseInsensitive = false)

Computes the difference between two index objects.

Parameters

Index $fromIndex
Index $toIndex
boolean $caseInsensitive

Return Value

boolean