/** * @param Node $node */ private function enterAutofilterNode(Node $node) { $this->autofilterStack[] = $this->autofilter; $strategy = $node->getData('strategy'); $this->autofilter = $strategy === 1 ? $this->extension : $strategy; }
private function isEnvironmentVariable(Node $node) { return $node instanceof TempVariableNode && $node->getData('name') === 'environment'; }