コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function persist(TaskInterface $task)
 {
     $entity = $this->taskRepository->findByUuid($task->getUuid());
     $this->setTask($entity, $task);
     $this->entityManager->persist($entity);
     $this->entityManager->flush();
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function findByTask(TaskInterface $task)
 {
     return $this->findByTaskUuid($task->getUuid());
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  */
 public function getUuid()
 {
     return $this->task->getUuid();
 }