public function collectAssignInCondition($node, ArrayDto $arrayDto = null)
    {
        if ($arrayDto === null) {
            $arrayDto = new ArrayDto();
        }

        foreach ($this->nodeFetcher->foreachNodes($node) as $stmtData) {
            $collected = $this->extract($stmtData['node'], $arrayDto, $stmtData['parentClass']);
        }
        
        return $this->extract($node, $arrayDto);
    }
public function collectAssignInCondition($node, ArrayDto $arrayDto = null)
    {
        if ($arrayDto === null) {
            $arrayDto = new ArrayDto();
        }

        foreach ($this->nodeFetcher->foreachNodes($node) as $stmtData) {
            $collected = $this->extract($stmtData['node'], $arrayDto, $stmtData['parentClass']);
        }
        
        return $this->extract($node, $arrayDto);
    }
@param mixed $node

@return ArrayDto