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