Class ProviderAcquia
Acquia specific API interactions.
- Fluxsauce\Switchboard\Provider
- Fluxsauce\Switchboard\ProviderAcquia
Namespace: Fluxsauce\Switchboard
Package: Fluxsauce\Switchboard
Located at library/fluxsauce/switchboard/src/ProviderAcquia.php
Package: Fluxsauce\Switchboard
Located at library/fluxsauce/switchboard/src/ProviderAcquia.php
Methods summary
public
string
|
#
siteGetField( string $site_name, string $field )
A mapping function that calls the appropriate API to populate a field. |
public
array
|
|
public
boolean
|
|
protected
mixed
|
|
protected
mixed
|
|
public
boolean
|
|
public
|
|
public
|
|
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
|
|
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. |