private function generateVariableIdToVariableUsageMap()
    {
        if (!empty($this->_variableUsageInstances)) {
            foreach (array_values($this->_variableUsageInstances) as $variableUsage) {
                $this->_variableIdToVariableUsageInstanceMap[$variableUsage->getId()] = $variableUsage;
            }
        }
    }
private function generateVariableIdToVariableUsageMap()
    {
        if (!empty($this->_variableUsageInstances)) {
            foreach (array_values($this->_variableUsageInstances) as $variableUsage) {
                $this->_variableIdToVariableUsageInstanceMap[$variableUsage->getId()] = $variableUsage;
            }
        }
    }
private function generateVariableIdToVariableUsageMap ( ) { if ( ! empty ( $ this -> _variableUsageInstances ) ) { foreach ( array_values ( $ this -> _variableUsageInstances ) as $ variableUsage ) { $ this -> _variableIdToVariableUsageInstanceMap [ $ variableUsage -> getId ( ) ] = $ variableUsage ; } } }
Generates variable ID to Variable usage instance map
from variable usage instances
Generates variable ID to Variable usage instance map from variable usage instances