[Console] added a missing method (closes #3043)
This commit is contained in:
parent
4c6c22166a
commit
0492290a3b
|
@ -67,6 +67,16 @@ class Command
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ignores validation errors.
|
||||
*
|
||||
* This is mainly useful for the help command.
|
||||
*/
|
||||
public function ignoreValidationErrors()
|
||||
{
|
||||
$this->ignoreValidationErrors = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the application instance for this command.
|
||||
*
|
||||
|
|
|
@ -32,7 +32,7 @@ class HelpCommand extends Command
|
|||
*/
|
||||
protected function configure()
|
||||
{
|
||||
$this->ignoreValidationErrors = true;
|
||||
$this->ignoreValidationErrors();
|
||||
|
||||
$this
|
||||
->setDefinition(array(
|
||||
|
|
Reference in New Issue