code: public function postDeserialize()
      {
  
          // create an empty collection if no operations has been specified
          if ($this->loggers === null) {
              $this->loggers = new ArrayCollection();
          }
  
          // create an empty collection if no operations has been specified
          if ($this->operations === null) {
              $this->operations = new ArrayCollection();
          }
  
          // create an empty collection if no loggers has been specified
          if ($this->additionalVendorDirs === null) {
              $this->additionalVendorDirs = new ArrayCollection();
          }
      }
docs: Lifecycle callback that will be invoked after deserialization.
  
  @return void
  @PostDeserialize