jaroslavtyc/drd-plus-codes

View on GitHub
Codes/Body/ActivityAffectingHealingCode.php

Summary

Maintainability
A
55 mins
Test Coverage
<?php declare(strict_types=1);

namespace DrdPlus\Codes\Body;

use DrdPlus\Codes\Partials\AbstractCode;

/**
 * @method static ActivityAffectingHealingCode getIt($codeValue)
 * @method static ActivityAffectingHealingCode findIt($codeValue)
 */
class ActivityAffectingHealingCode extends AbstractCode
{
    public const SLEEPING_OR_REST_IN_BED = 'sleeping_or_rest_in_bed';
    public const LOUNGING_AND_RESTING = 'lounging_and_resting';
    public const LIGHT_ACTIVITY = 'light_activity';
    public const NORMAL_ACTIVITY = 'normal_activity';
    public const TOILSOME_ACTIVITY = 'toilsome_activity';
    public const VERY_HARD_ACTIVITY = 'very_hard_activity';

    /**
     * @return array|string[]
     */
    public static function getPossibleValues(): array
    {
        return [
            self::SLEEPING_OR_REST_IN_BED,
            self::LOUNGING_AND_RESTING,
            self::LIGHT_ACTIVITY,
            self::NORMAL_ACTIVITY,
            self::TOILSOME_ACTIVITY,
            self::VERY_HARD_ACTIVITY,
        ];
    }
}