PHP Class Pantheon\Terminus\Models\SSHKey

Inheritance: extends TerminusModel
Datei anzeigen Open project: pantheon-systems/terminus Class Usage Examples

Public Properties

Property Type Description
$user User

Public Methods

Method Description
__construct ( object $attributes = null, array $options = [] ) Object constructor
delete ( ) : array Deletes a specific SSH key
getComment ( ) : string Returns the comment for this SSH key
getHex ( ) : string Returns the hex for this SSH key

Method Details

__construct() public method

Object constructor
public __construct ( object $attributes = null, array $options = [] )
$attributes object Attributes of this model
$options array Options to configure this model

delete() public method

Deletes a specific SSH key
public delete ( ) : array
return array

getComment() public method

Returns the comment for this SSH key
public getComment ( ) : string
return string

getHex() public method

Returns the hex for this SSH key
public getHex ( ) : string
return string

Property Details

$user public_oe property

public User,Pantheon\Terminus\Models $user
return User