private collectVariable ( PHPMD\Node\ASTNode $node ) : void | ||
$node | PHPMD\Node\ASTNode | |
리턴 | void |
private function collectVariable(ASTNode $node)
{
if (!isset($this->images[$node->getImage()])) {
$this->images[$node->getImage()] = array();
}
$this->images[$node->getImage()][] = $node;
}