class CompareSchemaCommand extends Command (View source)

Constants

RETURN_CODE_ON_FAILURE

The return code we should return when an exception is thrown while running the command.

Methods

run(InputInterface $input, OutputInterface $output)

{@inheritdoc}

from  Command
writeError(OutputInterface $output, Exception|Throwable $error)

Write an exception.

from  Command
addEnvOption()

Add the "env" option to the command options.

from  Command
configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

filterQueries($queries)

Filter out all the queries that are platform specific that Doctrine doens't give us a good way to deal with. This is mostly index lengths that are set in installation that Doctrine doesn't support.

Details

run(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output

protected writeError(OutputInterface $output, Exception|Throwable $error)

Write an exception.

Parameters

OutputInterface $output
Exception|Throwable $error

protected Command addEnvOption()

Add the "env" option to the command options.

Return Value

Command

protected configure()

No description

protected execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

protected filterQueries($queries)

Filter out all the queries that are platform specific that Doctrine doens't give us a good way to deal with. This is mostly index lengths that are set in installation that Doctrine doesn't support.

Parameters

$queries