no_art !== null) { Assert::greaterThanEq($this->no_art, 1, 'Article number must be greater than or equal to 1.'); } if ($this->servings !== null) { Assert::maxLength($this->servings, 20, 'Servings cannot exceed 20 characters.'); } } }