[Console] Add constants for main exit codes

This commit is contained in:
Chi-teck 2020-01-26 16:00:45 +00:00 committed by Fabien Potencier
parent 524ee7acb6
commit 5f6a1acaac

View File

@ -29,6 +29,9 @@ use Symfony\Component\Console\Output\OutputInterface;
*/
class Command
{
public const SUCCESS = 0;
public const FAILURE = 1;
/**
* @var string|null The default command name
*/