1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Console;
4:
5: use Salient\Contract\Console\ConsoleMessageType as MessageType;
6:
7: /**
8: * Groups of console message types
9: *
10: * @api
11: */
12: interface ConsoleMessageTypeGroup
13: {
14: /**
15: * @var list<MessageType::*>
16: */
17: public const ALL = [
18: MessageType::STANDARD,
19: MessageType::UNDECORATED,
20: MessageType::UNFORMATTED,
21: MessageType::PROGRESS,
22: MessageType::GROUP_START,
23: MessageType::GROUP_END,
24: MessageType::SUMMARY,
25: MessageType::SUCCESS,
26: MessageType::FAILURE,
27: ];
28:
29: /**
30: * @var list<MessageType::*>
31: */
32: public const GROUP = [
33: MessageType::GROUP_START,
34: MessageType::GROUP_END,
35: ];
36: }
37: