isWizardHidden() 공개 메소드

Checks if the wizard is hidden on the given route.
public isWizardHidden ( string $route ) : boolean
$route string The route to check.
리턴 boolean If the wizard is hidden.
예제 #1
0
 /**
  * Checks if the wizard is visible for this request.
  *
  * @return boolean If visible
  */
 protected function isVisible()
 {
     $masterRequest = $this->requestStack->getMasterRequest();
     if ($masterRequest->query->get('modal', false)) {
         return false;
     }
     $route = $masterRequest->attributes->get('_route');
     return !$this->wizardRoutes->isWizardHidden($route);
 }