PHP Class Platformsh\Cli\Command\Domain\DomainCommandBase

Inheritance: extends Platformsh\Cli\Command\CommandBase
Afficher le fichier Open project: commerceguys/platform-cli

Protected Properties

Свойство Type Description
$certPath
$chainPaths
$domainName
$keyPath
$sslOptions The final array of SSL options for the client parameters.

Méthodes protégées

Méthode Description
addDomainOptions ( )
handleApiException ( GuzzleHttp\Exception\ClientException $e, Platformsh\Client\Model\Project $project ) Output a clear explanation for domains API errors.
readChainFiles ( array $chainPaths ) : array Get the contents of multiple chain files.
validDomain ( string $domain ) : boolean Validate a domain.
validateDomainInput ( Symfony\Component\Console\Input\InputInterface $input ) : boolean
validateSslOptions ( ) : boolean

Method Details

addDomainOptions() protected méthode

protected addDomainOptions ( )

handleApiException() protected méthode

Output a clear explanation for domains API errors.
protected handleApiException ( GuzzleHttp\Exception\ClientException $e, Platformsh\Client\Model\Project $project )
$e GuzzleHttp\Exception\ClientException
$project Platformsh\Client\Model\Project

readChainFiles() protected méthode

Get the contents of multiple chain files.
protected readChainFiles ( array $chainPaths ) : array
$chainPaths array
Résultat array An array of file contents (whitespace trimmed) keyed by file name.

validDomain() protected méthode

Validate a domain.
protected validDomain ( string $domain ) : boolean
$domain string
Résultat boolean

validateDomainInput() protected méthode

protected validateDomainInput ( Symfony\Component\Console\Input\InputInterface $input ) : boolean
$input Symfony\Component\Console\Input\InputInterface
Résultat boolean

validateSslOptions() protected méthode

protected validateSslOptions ( ) : boolean
Résultat boolean

Property Details

$certPath protected_oe property

protected $certPath

$chainPaths protected_oe property

protected $chainPaths

$domainName protected_oe property

protected $domainName

$keyPath protected_oe property

protected $keyPath

$sslOptions protected_oe property

The final array of SSL options for the client parameters.
protected $sslOptions