abstract class AbstractCommand extends Command (View source)

Base class for CreateCommand, DropCommand and UpdateCommand.

Methods

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

No description

execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Details

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

Parameters

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

Return Value

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

protected execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output