public function getScoringTypeAttribute($value) { return array_search_null($value, self::SCORING_TYPES); }