code) === '') { throw new \DomainException('Campaign code cannot be empty.'); } } }