PHP Class WsdlToPhp\PackageGenerator\Command\GeneratePackageCommand

Inheritance: extends AbstractCommand
Show file Open project: wsdltophp/packagegenerator Class Usage Examples

Protected Properties

Property Type Description
$generator WsdlToPhp\PackageGenerator\Generator\Generator
$generatorOptions WsdlToPhp\PackageGenerator\ConfigurationReader\GeneratorOptions

Public Methods

Method Description
getGenerator ( ) : Generator
getGeneratorOptionsConfigOption ( )
getGeneratorOptionsPossibilities ( ) : string[]
resolveGeneratorOptionsConfigPath ( ) : string | null

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
formatOptionValue ( mixed $optionValue ) : boolean | mixed
getPackageGenerationCommandLineOptions ( ) : array
initGenerator ( ) : GeneratePackageCommand
initGeneratorOptions ( ) : GeneratePackageCommand
setGenerator ( Generator $generator ) : GeneratePackageCommand

Private Methods

Method Description
formatArrayForConsole ( array $array ) : array Utility method to return readeable array based on "key: value"

Method Details

configure() protected method

See also: WsdlToPhp\PackageGenerator\Command\AbstractCommand::configure()
protected configure ( )

execute() protected method

See also: Sdc\AppBundle\Command\Command::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

formatOptionValue() protected method

protected formatOptionValue ( mixed $optionValue ) : boolean | mixed
$optionValue mixed
return boolean | mixed

getGenerator() public method

public getGenerator ( ) : Generator
return WsdlToPhp\PackageGenerator\Generator\Generator

getGeneratorOptionsConfigOption() public method

getGeneratorOptionsPossibilities() public method

public getGeneratorOptionsPossibilities ( ) : string[]
return string[]

getPackageGenerationCommandLineOptions() protected method

initGenerator() protected method

protected initGenerator ( ) : GeneratePackageCommand
return GeneratePackageCommand

initGeneratorOptions() protected method

protected initGeneratorOptions ( ) : GeneratePackageCommand
return GeneratePackageCommand

resolveGeneratorOptionsConfigPath() public method

setGenerator() protected method

protected setGenerator ( Generator $generator ) : GeneratePackageCommand
$generator WsdlToPhp\PackageGenerator\Generator\Generator
return GeneratePackageCommand

Property Details

$generator protected property

protected Generator,WsdlToPhp\PackageGenerator\Generator $generator
return WsdlToPhp\PackageGenerator\Generator\Generator

$generatorOptions protected property

protected GeneratorOptions,WsdlToPhp\PackageGenerator\ConfigurationReader $generatorOptions
return WsdlToPhp\PackageGenerator\ConfigurationReader\GeneratorOptions