Bristol SU Support Package
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
BristolSU\Support\Connection\Connection Class Reference
Inheritance diagram for BristolSU\Support\Connection\Connection:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\Connection\Connection:
Collaboration graph
[legend]

Public Member Functions

 getConnectorAttribute ()
 
 connector ()
 
- Public Member Functions inherited from BristolSU\Support\Revision\HasRevisions
 initializeHasRevisions ()
 
 getSystemUserId ()
 

Static Protected Member Functions

static boot ()
 

Protected Attributes

 $table = 'connection_instances'
 
 $appends = ['connector']
 
 $fillable
 
 $hidden = ['settings']
 
 $casts
 
- Protected Attributes inherited from BristolSU\Support\Revision\HasRevisions
 $historyLimit
 
 $revisionCleanup
 

Detailed Description

Represents a connection to a third party

Definition at line 12 of file Connection.php.

Member Function Documentation

◆ boot()

static BristolSU\Support\Connection\Connection::boot ( )
staticprotected

Automatically set the model user ID based on the current authenticated user.

Definition at line 59 of file Connection.php.

◆ connector()

BristolSU\Support\Connection\Connection::connector ( )

◆ getConnectorAttribute()

BristolSU\Support\Connection\Connection::getConnectorAttribute ( )

Get the connector linked to this connection

Returns
RegisteredConnector

Definition at line 77 of file Connection.php.

References BristolSU\Support\Connection\Connection\connector().

Member Data Documentation

◆ $appends

BristolSU\Support\Connection\Connection::$appends = ['connector']
protected

Definition at line 29 of file Connection.php.

◆ $casts

BristolSU\Support\Connection\Connection::$casts
protected
Initial value:
= [
'settings' => 'array'
]

Definition at line 52 of file Connection.php.

◆ $fillable

BristolSU\Support\Connection\Connection::$fillable
protected
Initial value:
= [
'name', 'description', 'alias', 'settings'
]

Definition at line 36 of file Connection.php.

◆ $hidden

BristolSU\Support\Connection\Connection::$hidden = ['settings']
protected

Definition at line 45 of file Connection.php.

◆ $table

BristolSU\Support\Connection\Connection::$table = 'connection_instances'
protected

Definition at line 20 of file Connection.php.


The documentation for this class was generated from the following file: