/**
  * Get prototype for our target prototype.
  *
  * @param ... $prototype
  * @return PrototypeInterface|null
  */
 private function getTargetPrototype($prototype)
 {
     return $this->prototypeRepository->findOneByName($prototype->getName());
 }