PHP Class Airship\Engine\Continuum\Supplier

This abstracts away a particular supplier.
显示文件 Open project: paragonie/airship Class Usage Examples

Public Methods

Method Description
__construct ( $name, array $data = [] ) Supplier constructor.
getChannels ( ) : array Get all of the channels
getName ( ) : string Get an array SignaturePublicKey objects
getSigningKeys ( ) : array Get an array SignaturePublicKey objects
reloadSigningKeys ( array $data = [] ) : self Reload the signing keys

Method Details

__construct() public method

Supplier constructor.
public __construct ( $name, array $data = [] )
$name
$data array

getChannels() public method

Get all of the channels
public getChannels ( ) : array
return array

getName() public method

Get an array SignaturePublicKey objects
public getName ( ) : string
return string

getSigningKeys() public method

Get an array SignaturePublicKey objects
public getSigningKeys ( ) : array
return array

reloadSigningKeys() public method

Reload the signing keys
public reloadSigningKeys ( array $data = [] ) : self
$data array
return self