PHP Class ApiGen\Console\Command\GenerateCommand

Inheritance: extends ApiGen\Console\Command\AbstractCommand
Datei anzeigen Open project: apigen/apigen

Public Methods

Method Description
__construct ( Configuration $configuration, ApiGen\Contracts\Parser\ParserInterface $parser, ApiGen\Contracts\Parser\ParserStorageInterface $parserResult, ApiGen\Contracts\Generator\GeneratorQueueInterface $generatorQueue, FileSystem $fileSystem, ApiGen\Theme\ThemeResources $themeResources, ApiGen\Contracts\Console\IO\IOInterface $io, ApiGen\Utils\Finder\FinderInterface $finder )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
camelFormat ( string $name ) : string
cleanDestinationWithCaution ( string $destination )
convertDashKeysToCamel ( array $options ) : array
generate ( array $options )
loadOptionsFromConfig ( array $options ) : array
prepareDestination ( string $destination, $allowOverwrite = false )
prepareOptions ( array $cliOptions ) : array
reportParserErrors ( array $errors )
scanAndParse ( array $options )
unsetDeprecatedOptions ( array $options ) : array
warnAboutDeprecatedOptions ( array $options )

Method Details

__construct() public method

public __construct ( Configuration $configuration, ApiGen\Contracts\Parser\ParserInterface $parser, ApiGen\Contracts\Parser\ParserStorageInterface $parserResult, ApiGen\Contracts\Generator\GeneratorQueueInterface $generatorQueue, FileSystem $fileSystem, ApiGen\Theme\ThemeResources $themeResources, ApiGen\Contracts\Console\IO\IOInterface $io, ApiGen\Utils\Finder\FinderInterface $finder )
$configuration ApiGen\Configuration\Configuration
$parser ApiGen\Contracts\Parser\ParserInterface
$parserResult ApiGen\Contracts\Parser\ParserStorageInterface
$generatorQueue ApiGen\Contracts\Generator\GeneratorQueueInterface
$fileSystem ApiGen\Utils\FileSystem
$themeResources ApiGen\Theme\ThemeResources
$io ApiGen\Contracts\Console\IO\IOInterface
$finder ApiGen\Utils\Finder\FinderInterface

configure() protected method

protected configure ( )

execute() protected method

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