abstract class AbstractCommand extends Command (View source)

Base class for CreateCommand, DropCommand and UpdateCommand.

Methods

null|int
executeSchemaCommand(InputInterface $input, OutputInterface $output, SchemaTool $schemaTool, array $metadatas)

No description

execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Details

abstract protected null|int executeSchemaCommand(InputInterface $input, OutputInterface $output, SchemaTool $schemaTool, array $metadatas)

Parameters

InputInterface $input
OutputInterface $output
SchemaTool $schemaTool
array $metadatas

Return Value

null|int Null or 0 if everything went fine, or an error code.

protected execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output