code: public function setExpireDate($expireDate)
      {
          if ($expireDate instanceof DateTime) {
              $this->expireDate = $expireDate;
          } else {
              try {
                  $this->expireDate = new DateTime($expireDate);
              } catch (\Exception $e) {
                  $this->expireDate = null;
              }
          }
  
          return $this;
      }
docs: Sets the "expireDate" of the Moodboard.
  
  @param DateTime $expireDate
  
  @return Moodboard