original_string: public function toArray()
      {
          $arr = [];
          foreach ($this as $k => $v) {
              if ($v instanceof Enumerable) {
                  $arr[] = $v->toArray();
              } else {
                  $arr[] = $v;
              }
          }
  
          return $arr;
      }
code: public function toArray()
      {
          $arr = [];
          foreach ($this as $k => $v) {
              if ($v instanceof Enumerable) {
                  $arr[] = $v->toArray();
              } else {
                  $arr[] = $v;
              }
          }
  
          return $arr;
      }
code_tokens: public function toArray ( ) { $ arr = [ ] ; foreach ( $ this as $ k => $ v ) { if ( $ v instanceof Enumerable ) { $ arr [ ] = $ v -> toArray ( ) ; } else { $ arr [ ] = $ v ; } } return $ arr ; }
docstring: Returns an array containing the values from this VectorLike.
docstring_tokens: Returns an array containing the values from this VectorLike .