/**
  * @param Node $operand
  *
  * @return bool
  */
 private function isPropertyAccessOperator(Node $operand)
 {
     if (!$operand instanceof OperatorNode) {
         return false;
     }
     return $operand->getOperator() instanceof PropertyAccessOperator;
 }
Example #2
0
 /**
  * @param Node $node
  *
  * @return bool
  */
 private function isFilterOperator(Node $node)
 {
     return $node instanceof OperatorNode && $node->getOperator() instanceof FilterOperator;
 }