Class ProviderPantheon
Pantheon specific API interactions.
- Fluxsauce\Switchboard\Provider
- Fluxsauce\Switchboard\ProviderPantheon
Package: Fluxsauce\Switchboard
Located at library/fluxsauce/switchboard/src/ProviderPantheon.php
Methods summary
public
string
|
#
siteGetField( string $site_name, string $field )
A mapping function that calls the appropriate API to populate a field. |
public
|
|
public
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
string
|
#
authLoginGetFormBuildId( string $html )
Parse form build ID, based on terminus_pauth_login_get_form_build_id(). |
public
|
|
public
|
#
apiGetSiteEnvDbs( string $site_name, string $env_name )
Get and populate list of Databases for a particular Environment. |
public
array
|
#
apiGetSiteEnvDbBackups( string $site_name, string $env_name )
Get a list of database backups for a particular Site Environment. |
public
array
|
#
getSiteEnvDbBackupLatest( string $site_name, string $env_name )
Helper function to get the latest database backup. |
public
string
|
#
apiGetBackupDownloadUrl( string $site_name, string $env_name, string $bucket, string $element )
Helper function to get the S3 backup URL. |
public
string
|
|
public
string
|
#
getFilesPath( string $site_name, string $env_name )
Get the remote path to files for a particular Site Environment. |
Methods inherited from Fluxsauce\Switchboard\Provider
__construct()
,
__get()
,
authLogout()
,
drushCacheBinAuthName()
,
getInstance()
,
requestsOptions()
,
siteDestroy()
,
siteExists()
,
sitesDestroy()
Magic methods summary
Properties summary
protected
string
|
$name |
#
Machine name of the Provider. |
protected
string
|
$label |
#
Human readable label for the Provider. |
protected
string
|
$homepage |
#
Homepage URL for the provider. |
protected
string
|
$endpoint |
#
Endpoint URL for the provider. |