original_string: public function dump()
      {
          $attributes = array();
  
          if ($this->id) {
              $attributes['$id'] = $this->id;
          }
  
          foreach ($this->attributes as $key => $value) {
              $schema = $this->schema($key);
  
              if (! empty($schema['transient'])) {
                  continue;
              }
  
              $attributes[$key] = $value;
          }
  
          return $attributes;
      }
code: public function dump()
      {
          $attributes = array();
  
          if ($this->id) {
              $attributes['$id'] = $this->id;
          }
  
          foreach ($this->attributes as $key => $value) {
              $schema = $this->schema($key);
  
              if (! empty($schema['transient'])) {
                  continue;
              }
  
              $attributes[$key] = $value;
          }
  
          return $attributes;
      }
code_tokens: public function dump ( ) { $ attributes = array ( ) ; if ( $ this -> id ) { $ attributes [ '$id' ] = $ this -> id ; } foreach ( $ this -> attributes as $ key => $ value ) { $ schema = $ this -> schema ( $ key ) ; if ( ! empty ( $ schema [ 'transient' ] ) ) { continue ; } $ attributes [ $ key ] = $ value ; } return $ attributes ; }
docstring: Dump attributes raw data.
  
  @method dump
  
  @return array
docstring_tokens: Dump attributes raw data .