original_string: private function setShadowProperiesMapValues(array $properties_map, &$reference = null)
      {
          $base_reference = $reference;
          foreach ($properties_map as $property_key => $property_val) {
              if (is_array($property_val)) {
                  if ($reference === null) {
                      $reference = & $this->shadowProperties[$property_key];
                  } else {
                      $reference = & $reference[$property_key];
                  }
                  $this->setShadowProperiesMapValues($property_val, $reference);
              } else {
                  if ($base_reference === null) {
                      $this->shadowProperties[$property_key] = $property_val;
                  } else {
                      $reference[$property_key] = $property_val;
                  }
              }
          }
  
          return $this;
      }
code: private function setShadowProperiesMapValues(array $properties_map, &$reference = null)
      {
          $base_reference = $reference;
          foreach ($properties_map as $property_key => $property_val) {
              if (is_array($property_val)) {
                  if ($reference === null) {
                      $reference = & $this->shadowProperties[$property_key];
                  } else {
                      $reference = & $reference[$property_key];
                  }
                  $this->setShadowProperiesMapValues($property_val, $reference);
              } else {
                  if ($base_reference === null) {
                      $this->shadowProperties[$property_key] = $property_val;
                  } else {
                      $reference[$property_key] = $property_val;
                  }
              }
          }
  
          return $this;
      }
code_tokens: private function setShadowProperiesMapValues ( array $ properties_map , & $ reference = null ) { $ base_reference = $ reference ; foreach ( $ properties_map as $ property_key => $ property_val ) { if ( is_array ( $ property_val ) ) { if ( $ reference === null ) { $ reference = & $ this -> shadowProperties [ $ property_key ] ; } else { $ reference = & $ reference [ $ property_key ] ; } $ this -> setShadowProperiesMapValues ( $ property_val , $ reference ) ; } else { if ( $ base_reference === null ) { $ this -> shadowProperties [ $ property_key ] = $ property_val ; } else { $ reference [ $ property_key ] = $ property_val ; } } } return $ this ; }
docstring: Set Shadow Properties from Maped Values
  
  @param array $properties_map
  @param * $reference
  
  @return PHPExcel_Chart_Axis
docstring_tokens: Set Shadow Properties from Maped Values