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