示例#1
0
 /**
  * Return action from actionId
  *
  * @param $actionId
  * @return Action
  */
 public function getAction($actionId)
 {
     if (null !== $this->currentAction && $this->currentAction->getId() == $actionId) {
         return $this->currentAction;
     }
     return $this->container->get('consim.core.entity.action')->load($actionId);
 }