private function guardLevelBoundaries($levelValue)
    {
        if ($levelValue < static::MIN_LEVEL) {
            throw new Exceptions\MinLevelUnderflow(
                'Level has to be at least ' . self::MIN_LEVEL . ', got ' . $levelValue
            );
        }
        if ($levelValue > static::MAX_LEVEL) {
            throw new Exceptions\MaxLevelOverflow(
                'Level can not be greater than ' . self::MAX_LEVEL . ', got ' . $levelValue
            );
        }
    }
private function guardLevelBoundaries($levelValue)
    {
        if ($levelValue < static::MIN_LEVEL) {
            throw new Exceptions\MinLevelUnderflow(
                'Level has to be at least ' . self::MIN_LEVEL . ', got ' . $levelValue
            );
        }
        if ($levelValue > static::MAX_LEVEL) {
            throw new Exceptions\MaxLevelOverflow(
                'Level can not be greater than ' . self::MAX_LEVEL . ', got ' . $levelValue
            );
        }
    }
private function guardLevelBoundaries ( $ levelValue ) { if ( $ levelValue < static :: MIN_LEVEL ) { throw new Exceptions \ MinLevelUnderflow ( 'Level has to be at least ' . self :: MIN_LEVEL . ', got ' . $ levelValue ) ; } if ( $ levelValue > static :: MAX_LEVEL ) { throw new Exceptions \ MaxLevelOverflow ( 'Level can not be greater than ' . self :: MAX_LEVEL . ', got ' . $ levelValue ) ; } }
Level is not limited by table values, so has to be in code

@param int $levelValue
@throws \DrdPlus\Tables\Measurements\Experiences\Exceptions\MinLevelUnderflow
@throws \DrdPlus\Tables\Measurements\Experiences\Exceptions\MaxLevelOverflow
Level is not limited by table values so has to be in code