Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getWorkflow(EntityId $entityId, $entity)
 {
     $key = $entityId->__toString();
     if (!isset($this->workflows[$key])) {
         $this->workflows[$key] = $this->manager->getWorkflow($entityId, $entity);
     }
     return $this->workflows[$key];
 }