DefaultPropertyComparator extends AbstractMemberComparator
Default property comparator.
Orders them by visibility first then by method name
Table of Contents
- compare() : int
- compareMembers() : int
Methods
compare()
public
compare(PhpProperty $a, PhpProperty $b) : int
Parameters
- $a : PhpProperty
- $b : PhpProperty
Tags
Return values
int —compareMembers()
protected
compareMembers(AbstractPhpMember $a, AbstractPhpMember $b) : int
Parameters
- $a : AbstractPhpMember
- $b : AbstractPhpMember