original_string: public function getGuildsAttribute()
      {
          $response = $this->discord->request(
              'GET',
              $this->discord->getGuildsEndpoint(),
              $this->token
          );
  
          $collection = new Collection();
  
          foreach ($response as $raw) {
              $collection->push(
                  $this->discord->buildPart(Guild::class, $this->token, $raw)
              );
          }
  
          return $collection;
      }
code: public function getGuildsAttribute()
      {
          $response = $this->discord->request(
              'GET',
              $this->discord->getGuildsEndpoint(),
              $this->token
          );
  
          $collection = new Collection();
  
          foreach ($response as $raw) {
              $collection->push(
                  $this->discord->buildPart(Guild::class, $this->token, $raw)
              );
          }
  
          return $collection;
      }
code_tokens: public function getGuildsAttribute ( ) { $ response = $ this -> discord -> request ( 'GET' , $ this -> discord -> getGuildsEndpoint ( ) , $ this -> token ) ; $ collection = new Collection ( ) ; foreach ( $ response as $ raw ) { $ collection -> push ( $ this -> discord -> buildPart ( Guild :: class , $ this -> token , $ raw ) ) ; } return $ collection ; }
docstring: Gets the guilds attribute.
  
  @return Collection Guilds.
docstring_tokens: Gets the guilds attribute .