コード例 #1
0
 /**
  * Returns all model states.
  *
  * @param ModelInterface $model
  * @param string $processName
  * @param string $successOnly
  * @return array
  */
 public function findAllModelStates(ModelInterface $model, $processName, $successOnly = true)
 {
     return $this->repository->findModelStates($model->getWorkflowIdentifier(), $processName, $successOnly);
 }