code: public function getProcessIdentifier(): ?ResourceIdentifierInterface
      {
          if (!$id = $this->getProcessId()) {
              return null;
          }
  
          return ResourceIdentifier::create($this->getProcessType(), $id);
      }
docs: Get the process identifier for the route.
  
  @return ResourceIdentifierInterface|null
  @deprecated 2.0.0