PHP Класс Psecio\Versionscan\Command\Output

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\Console\Output\OutputInterface $output, array $options = [] ) Init the object and set output and options (if given)
getOption ( string $optionName ) : mixed Get a single option
getOptions ( ) : array Get the current set of options
getOutput ( ) : object Get the Output instance
render ( array $results, Command $command ) Render the results of the scan
setOptions ( array $options ) Set the output options
setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) Set the Output object instance

Описание методов

__construct() публичный Метод

Init the object and set output and options (if given)
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, array $options = [] )
$output Symfony\Component\Console\Output\OutputInterface Output object
$options array Output options

getOption() публичный Метод

Get a single option
public getOption ( string $optionName ) : mixed
$optionName string Name of option to find
Результат mixed Either the option value if found or null

getOptions() публичный Метод

Get the current set of options
public getOptions ( ) : array
Результат array Options set

getOutput() публичный Метод

Get the Output instance
public getOutput ( ) : object
Результат object Output instance

render() абстрактный публичный Метод

Render the results of the scan
abstract public render ( array $results, Command $command )
$results array Set of scan results
$command Symfony\Component\Console\Command\Command

setOptions() публичный Метод

Set the output options
public setOptions ( array $options )
$options array Set of options

setOutput() публичный Метод

Set the Output object instance
public setOutput ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface Object instance