DefaultConstantComparator implements Comparator
Default property comparator.
Orders them by lower cased first, then upper cased
Interfaces, Classes and Traits
- Comparator
Table of Contents
- $comparator : DefaultUseStatementComparator
- __construct() : mixed
- compare() : int
Properties
$comparator
private
DefaultUseStatementComparator
$comparator
Methods
__construct()
public
__construct() : mixed
Return values
mixed —compare()
public
compare(PhpConstant $a, PhpConstant $b) : int
Parameters
- $a : PhpConstant
- $b : PhpConstant