protected final function AccessorsMatch(Accessor $Accessor, Accessor $OtherAccessor, &$MatchedAccessorType = null)
{
switch ($this->PropertyMode) {
case self::PropertiesAreGetters:
return $this->GetterAccessorsMatch($Accessor, $OtherAccessor, $MatchedAccessorType);
case self::PropertiesAreSetters:
return $this->SetterAccessorsMatch($Accessor, $OtherAccessor, $MatchedAccessorType);
case self::PropertiesAreGettersOrSetters:
return $this->GetterAccessorsMatch($Accessor, $OtherAccessor, $MatchedAccessorType) || $this->SetterAccessorsMatch($Accessor, $OtherAccessor, $MatchedAccessorType);
default:
throw new FunctionException('No');
}
}