PHP 클래스 Psecio\Versionscan\Command\Output

파일 보기 프로젝트 열기: psecio/versionscan

공개 메소드들

메소드 설명
__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