PHP Class Pantheon\Terminus\Collections\SSHKeys

Inheritance: extends UserOwnedCollection
Afficher le fichier Open project: pantheon-systems/terminus

Protected Properties

Свойство Type Description
$collected_class string
$url string

Méthodes publiques

Méthode Description
addKey ( string $key_file ) : array Adds an SSH key to the user's Pantheon account
deleteAll ( ) : array Deletes all SSH keys from account
fetch ( array $options = [] ) : SSHKeys Fetches model data from API and instantiates its model instances

Method Details

addKey() public méthode

Adds an SSH key to the user's Pantheon account
public addKey ( string $key_file ) : array
$key_file string Full path of the SSH key to add
Résultat array

deleteAll() public méthode

Deletes all SSH keys from account
public deleteAll ( ) : array
Résultat array

fetch() public méthode

Fetches model data from API and instantiates its model instances
public fetch ( array $options = [] ) : SSHKeys
$options array params to pass to url request
Résultat SSHKeys $this

Property Details

$collected_class protected_oe property

protected string $collected_class
Résultat string

$url protected_oe property

protected string $url
Résultat string