servings !== null) { Assert::maxLength($this->servings, 20, 'Servings cannot exceed 20 characters.'); } } }