/** * Given an owner type, return a key class * * @param int $ownerType The type of owner * * @return string */ public static function fromOwnerType($ownerType) { return static::defines(strtoupper(OwnerTypes::nameOf($ownerType, !is_numeric($ownerType), false)), true); }