PHP Trait Airship\Engine\Bolt\Supplier

This is used by both Continuum and Keyggdrasil in precisely the same manner
Show file Open project: paragonie/airship

Public Methods

Method Description
createSupplier ( string $channelName, array $data ) : Supplier This is used when saving a new supplier configuration for the very first time.
escapeSupplierName ( string $supplier ) : string
getSupplier ( string $supplier = '', boolean $force_flush = false ) : Supplier | Supplier[] Load all of the supplier's Ed25519 public keys
getSupplierDontCache ( string $supplier ) : Supplier For objects that don't bother caching

Method Details

createSupplier() public method

This is used when saving a new supplier configuration for the very first time.
public createSupplier ( string $channelName, array $data ) : Supplier
$channelName string
$data array
return Airship\Engine\Continuum\Supplier

escapeSupplierName() public method

public escapeSupplierName ( string $supplier ) : string
$supplier string
return string

getSupplier() public method

Load all of the supplier's Ed25519 public keys
public getSupplier ( string $supplier = '', boolean $force_flush = false ) : Supplier | Supplier[]
$supplier string
$force_flush boolean
return Airship\Engine\Continuum\Supplier | Airship\Engine\Continuum\Supplier[]

getSupplierDontCache() public method

For objects that don't bother caching
public getSupplierDontCache ( string $supplier ) : Supplier
$supplier string
return Airship\Engine\Continuum\Supplier