code: public function setEnabled(?bool $enabled)
      {
          $this->enabled = $enabled;
  
          if (property_exists($this, 'enabledAt')) {
              $this->enabledAt = $enabled ? new DateTime : null;
          }
  
          return $this;
      }
docs: Set enabled
  
  @param boolean $enabled
  @return object