PHP 클래스 Spatie\Commands\ResolveCommand

상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: spatie/ssl-certificate-chain-resolver

보호된 프로퍼티들

프로퍼티 타입 설명
$httpClient

공개 메소드들

메소드 설명
__construct ( )

보호된 메소드들

메소드 설명
configure ( ) Configure the command options.
confirmOverwrite ( $input, $output, $outputFile ) : boolean Check if outputfile already exists, if so, ask the user confirmation to overwrite.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void Execute the command.
getCertificateChain ( string $certificateFile, Symfony\Component\Console\Output\OutputInterface $output ) : string Get a string with the contents of the given certificatefile and it's entire trust chain.
guardAgainstInvalidInput ( $certificateFile ) Validate the inputfile.

메소드 상세

__construct() 공개 메소드

public __construct ( )

configure() 보호된 메소드

Configure the command options.
protected configure ( )

confirmOverwrite() 보호된 메소드

Check if outputfile already exists, if so, ask the user confirmation to overwrite.
protected confirmOverwrite ( $input, $output, $outputFile ) : boolean
$input
$output
$outputFile
리턴 boolean

execute() 보호된 메소드

Execute the command.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 integer | null | void

getCertificateChain() 보호된 메소드

Get a string with the contents of the given certificatefile and it's entire trust chain.
protected getCertificateChain ( string $certificateFile, Symfony\Component\Console\Output\OutputInterface $output ) : string
$certificateFile string
$output Symfony\Component\Console\Output\OutputInterface
리턴 string

guardAgainstInvalidInput() 보호된 메소드

Validate the inputfile.
protected guardAgainstInvalidInput ( $certificateFile )
$certificateFile

프로퍼티 상세

$httpClient 보호되어 있는 프로퍼티

protected $httpClient