PHP Класс Pantheon\Terminus\Collections\SSHKeys

Наследование: extends UserOwnedCollection
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$collected_class string
$url string

Открытые методы

Метод Описание
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

Описание методов

addKey() публичный Метод

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
Результат array

deleteAll() публичный Метод

Deletes all SSH keys from account
public deleteAll ( ) : array
Результат array

fetch() публичный Метод

Fetches model data from API and instantiates its model instances
public fetch ( array $options = [] ) : SSHKeys
$options array params to pass to url request
Результат SSHKeys $this

Описание свойств

$collected_class защищенное свойство

protected string $collected_class
Результат string

$url защищенное свойство

protected string $url
Результат string