original_string: public function all()
      {
          $attributes = $this->attributes;
  
          return array_map(function ($item) {
              if (is_object($item) && get_class($item) === Generic::class) {
                  $item = $item->all();
              }
  
              return $item;
          }, $attributes);
      }
code: public function all()
      {
          $attributes = $this->attributes;
  
          return array_map(function ($item) {
              if (is_object($item) && get_class($item) === Generic::class) {
                  $item = $item->all();
              }
  
              return $item;
          }, $attributes);
      }
code_tokens: public function all ( ) { $ attributes = $ this -> attributes ; return array_map ( function ( $ item ) { if ( is_object ( $ item ) && get_class ( $ item ) === Generic :: class ) { $ item = $ item -> all ( ) ; } return $ item ; } , $ attributes ) ; }
docstring: Return the base attribute array.
  
  @return array
docstring_tokens: Return the base attribute array .