PHP 클래스 Bit3\FakerCli\Command\GenerateCommand

상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: bit3/faker-cli

보호된 메소드들

메소드 설명
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
flattenArray ( $data ) : array Flatten an array.
generateXml ( DOMDocument $doc, mixed $data ) : DOMElement Generate a xml element from the input data.
outputCsv ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as CSV.
outputJson ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as JSON.
outputPhp ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as PHP.
outputPrintf ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as PHP.
outputVprintf ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as PHP.
outputXml ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) Generate and output the data as XML.

메소드 상세

configure() 보호된 메소드

protected configure ( )

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

flattenArray() 보호된 메소드

Flatten an array.
protected flattenArray ( $data ) : array
$data
리턴 array

generateXml() 보호된 메소드

Generate a xml element from the input data.
protected generateXml ( DOMDocument $doc, mixed $data ) : DOMElement
$doc DOMDocument
$data mixed
리턴 DOMElement

outputCsv() 보호된 메소드

Generate and output the data as CSV.
protected outputCsv ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$data mixed

outputJson() 보호된 메소드

Generate and output the data as JSON.
protected outputJson ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$output Symfony\Component\Console\Output\OutputInterface
$data mixed

outputPhp() 보호된 메소드

Generate and output the data as PHP.
protected outputPhp ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$output Symfony\Component\Console\Output\OutputInterface
$data mixed

outputPrintf() 보호된 메소드

Generate and output the data as PHP.
protected outputPrintf ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$data mixed

outputVprintf() 보호된 메소드

Generate and output the data as PHP.
protected outputVprintf ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$data mixed

outputXml() 보호된 메소드

Generate and output the data as XML.
protected outputXml ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data )
$output Symfony\Component\Console\Output\OutputInterface
$data mixed