PHP Interface Sulu\Bundle\ContactBundle\Util\IndexComparatorInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
compare ( mixed $a, mixed $b, array $ids ) : integer Compares given ids a and b with their index in ids array.

Method Details

compare() public method

Compares given ids a and b with their index in ids array.
public compare ( mixed $a, mixed $b, array $ids ) : integer
$a mixed
$b mixed
$ids array
return integer