original_string: public function readFromArray(array $data) : array
      {
          foreach($data as $key => $value)
          {
              if (is_string($value)){
                  $value = $this->macro_processor->process($value);
                  $data[$key] = $value;
              }
              else if(is_array($value)){
                  $data[$key] = $this->readFromArray($value);
              }
          }
          return $data;
      }
code: public function readFromArray(array $data) : array
      {
          foreach($data as $key => $value)
          {
              if (is_string($value)){
                  $value = $this->macro_processor->process($value);
                  $data[$key] = $value;
              }
              else if(is_array($value)){
                  $data[$key] = $this->readFromArray($value);
              }
          }
          return $data;
      }
code_tokens: public function readFromArray ( array $ data ) : array { foreach ( $ data as $ key => $ value ) { if ( is_string ( $ value ) ) { $ value = $ this -> macro_processor -> process ( $ value ) ; $ data [ $ key ] = $ value ; } else if ( is_array ( $ value ) ) { $ data [ $ key ] = $ this -> readFromArray ( $ value ) ; } } return $ data ; }
docstring: Read from array
  
  @param array $data
  
  @return array
docstring_tokens: Read from array