Show message type in packet:info
This commit is contained in:
@@ -68,7 +68,8 @@ class PacketInfo extends Command
|
||||
echo "\n";
|
||||
|
||||
try {
|
||||
$this->warn(sprintf('- Date : %s (%s)',$msg->date,$msg->date->tz->toOffsetName()));
|
||||
$this->warn(sprintf('- TYPE : %s',get_class($msg)));
|
||||
$this->warn(sprintf(' - Date : %s (%s)',$msg->date,$msg->date->tz->toOffsetName()));
|
||||
$this->warn(sprintf(' - Errors : %s',$msg->errors->count() ? 'YES' : 'No'));
|
||||
$this->warn(sprintf(' - Flags : %s',$msg->flags()->keys()->join(', ')));
|
||||
$this->warn(sprintf(' - Cost : %d',$msg->cost));
|
||||
|
Reference in New Issue
Block a user