protected function checkPropertyIncrement(BaseProperty $baseProperty, Profession $profession)
    {
        $propertyFirstLevelModifier = static::getBasePropertyFirstLevelModifier(
            PropertyCode::getIt($baseProperty->getCode()),
            $profession
        );
        if ($baseProperty->getValue() !== $propertyFirstLevelModifier) {
            throw new Exceptions\InvalidFirstLevelPropertyValue(
                "On first level has to be {$baseProperty->getCode()} of value {$propertyFirstLevelModifier}"
                . ", got {$baseProperty->getValue()}"
            );
        }
    }
protected function checkPropertyIncrement(BaseProperty $baseProperty, Profession $profession)
    {
        $propertyFirstLevelModifier = static::getBasePropertyFirstLevelModifier(
            PropertyCode::getIt($baseProperty->getCode()),
            $profession
        );
        if ($baseProperty->getValue() !== $propertyFirstLevelModifier) {
            throw new Exceptions\InvalidFirstLevelPropertyValue(
                "On first level has to be {$baseProperty->getCode()} of value {$propertyFirstLevelModifier}"
                . ", got {$baseProperty->getValue()}"
            );
        }
    }
protected function checkPropertyIncrement ( BaseProperty $ baseProperty , Profession $ profession ) { $ propertyFirstLevelModifier = static :: getBasePropertyFirstLevelModifier ( PropertyCode :: getIt ( $ baseProperty -> getCode ( ) ) , $ profession ) ; if ( $ baseProperty -> getValue ( ) !== $ propertyFirstLevelModifier ) { throw new Exceptions \ InvalidFirstLevelPropertyValue ( "On first level has to be {$baseProperty->getCode()} of value {$propertyFirstLevelModifier}" . ", got {$baseProperty->getValue()}" ) ; } }
It is only the increment based on first level of specific profession.
There are other increments like race, size etc., solved in different library.

@param BaseProperty $baseProperty
@param Profession $profession
@throws \DrdPlus\Person\ProfessionLevels\Exceptions\InvalidFirstLevelPropertyValue
It is only the increment based on first level of specific profession . There are other increments like race size etc . solved in different library .