original_string: public function getArrayCopy()
      {
          $data = [];
  
          foreach (get_object_vars($this) as $key => $value) {
              $getMethod = 'get' . ucfirst($key);
  
              $arrayKey = StaticFilter::execute($key, 'WordCamelCaseToUnderscore');
              $arrayKey = StaticFilter::execute($arrayKey, 'StringToLower');
  
              if (method_exists($this, $getMethod)) {
                  $data[$arrayKey] = $this->$getMethod();
              }
  
          }
  
          return $data;
      }
code: public function getArrayCopy()
      {
          $data = [];
  
          foreach (get_object_vars($this) as $key => $value) {
              $getMethod = 'get' . ucfirst($key);
  
              $arrayKey = StaticFilter::execute($key, 'WordCamelCaseToUnderscore');
              $arrayKey = StaticFilter::execute($arrayKey, 'StringToLower');
  
              if (method_exists($this, $getMethod)) {
                  $data[$arrayKey] = $this->$getMethod();
              }
  
          }
  
          return $data;
      }
code_tokens: public function getArrayCopy ( ) { $ data = [ ] ; foreach ( get_object_vars ( $ this ) as $ key => $ value ) { $ getMethod = 'get' . ucfirst ( $ key ) ; $ arrayKey = StaticFilter :: execute ( $ key , 'WordCamelCaseToUnderscore' ) ; $ arrayKey = StaticFilter :: execute ( $ arrayKey , 'StringToLower' ) ; if ( method_exists ( $ this , $ getMethod ) ) { $ data [ $ arrayKey ] = $ this -> $ getMethod ( ) ; } } return $ data ; }
docstring: Generate an array copy from property values
docstring_tokens: Generate an array copy from property values