PHP Класс Spatie\Commands\ResolveCommand

Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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