PHP Class MLD\Console\Command\ExportCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Mostrar archivo Open project: mledoze/countries

Public Methods

Method Description
__construct ( string $inputFile, string $outputDirectory, string | null $name = 'convert' )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void

Private Methods

Method Description
getOutputFields ( $baseFields, $excludeFields ) : array

Method Details

__construct() public method

public __construct ( string $inputFile, string $outputDirectory, string | null $name = 'convert' )
$inputFile string Full path and filename of the input country data JSON file.
$outputDirectory string Full path to output directory for converted files.
$name string | null

configure() protected method

protected configure ( )

execute() protected method

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
return integer | null | void