function Command::ignoreValidationErrors
Ignores validation errors.
This is mainly useful for the help command.
6 calls to Command::ignoreValidationErrors()
- HelpCommand::configure in vendor/
symfony/ console/ Command/ HelpCommand.php - Configures the current command.
- ScriptAliasCommand::__construct in vendor/
composer/ composer/ src/ Composer/ Command/ ScriptAliasCommand.php - TraceableCommand::ignoreValidationErrors in vendor/
symfony/ console/ Command/ TraceableCommand.php - Calling parent method is required to be used in {
- TraceableCommand::ignoreValidationErrors in vendor/
symfony/ console/ Command/ TraceableCommand.php - Calling parent method is required to be used in {
- TraceableCommand::__construct in vendor/
symfony/ console/ Command/ TraceableCommand.php
2 methods override Command::ignoreValidationErrors()
- LazyCommand::ignoreValidationErrors in vendor/
symfony/ console/ Command/ LazyCommand.php - Ignores validation errors.
- TraceableCommand::ignoreValidationErrors in vendor/
symfony/ console/ Command/ TraceableCommand.php - Calling parent method is required to be used in {
File
-
vendor/
symfony/ console/ Command/ Command.php, line 111
Class
- Command
- Base class for all commands.
Namespace
Symfony\Component\Console\CommandCode
public function ignoreValidationErrors() : void {
$this->ignoreValidationErrors = true;
}