getIdActionNameForEntryAndExitIds() public méthode

 /**
  * @param Request $request
  * @param Visitor $visitor
  * @param Action|null $action
  * @return int|bool
  */
 public function onExistingVisit(Request $request, Visitor $visitor, $action)
 {
     if (empty($action)) {
         return false;
     }
     return $action->getIdActionNameForEntryAndExitIds();
 }
 /**
  * @param Request $request
  * @param Visitor $visitor
  * @param Action|null $action
  * @return mixed
  */
 public function onNewVisit(Request $request, Visitor $visitor, $action)
 {
     $idActionName = false;
     if (!empty($action)) {
         $idActionName = $action->getIdActionNameForEntryAndExitIds();
     }
     return (int) $idActionName;
 }