/**
  * @param NodeInterface $node
  * @return bool
  */
 protected function isCaseNode(NodeInterface $node)
 {
     if ($node instanceof ViewHelperNode) {
         $viewHelperClassName = $node->getViewHelperClassName();
         return $viewHelperClassName === CaseViewHelper::class || $viewHelperClassName === OriginalCaseViewHelper::class;
     }
     return false;
 }
예제 #2
0
 /**
  * @param NodeInterface $node
  * @return boolean
  */
 protected function isCaseNode(NodeInterface $node)
 {
     return $node instanceof ViewHelperNode && $node->getViewHelperClassName() === 'TYPO3Fluid\\Fluid\\ViewHelpers\\CaseViewHelper';
 }
예제 #3
0
 /**
  * @param NodeInterface $node
  * @return boolean
  */
 protected function isCaseNode(NodeInterface $node)
 {
     return $node instanceof ViewHelperNode && $node->getViewHelperClassName() === CaseViewHelper::class;
 }