示例#1
0
 /**
  * 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);
 }