private static function executeTableShowTableColumn(array $column, $value): void
  {
    $spaces = str_repeat(' ', $column['length'] - mb_strlen((string)$value));

    switch ($column['type'])
    {
      case 1: // tinyint
      case 2: // smallint
      case 3: // int
      case 4: // float
      case 5: // double
      case 8: // bigint
      case 9: // mediumint
      case 246: // decimal
        echo ' ', $spaces.$value, ' ';
        break;

      case 7: // timestamp
      case 10: // date
      case 11: // time
      case 12: // datetime
      case 13: // year
      case 16: // bit
      case 252: // is currently mapped to all text and blob types (MySQL 5.0.51a)
      case 253: // varchar
      case 254: // char
        echo ' ', $value.$spaces, ' ';
        break;

      default:
        throw new FallenException('data type id', $column['type']);
    }
  }
private static function executeTableShowTableColumn(array $column, $value): void
  {
    $spaces = str_repeat(' ', $column['length'] - mb_strlen((string)$value));

    switch ($column['type'])
    {
      case 1: // tinyint
      case 2: // smallint
      case 3: // int
      case 4: // float
      case 5: // double
      case 8: // bigint
      case 9: // mediumint
      case 246: // decimal
        echo ' ', $spaces.$value, ' ';
        break;

      case 7: // timestamp
      case 10: // date
      case 11: // time
      case 12: // datetime
      case 13: // year
      case 16: // bit
      case 252: // is currently mapped to all text and blob types (MySQL 5.0.51a)
      case 253: // varchar
      case 254: // char
        echo ' ', $value.$spaces, ' ';
        break;

      default:
        throw new FallenException('data type id', $column['type']);
    }
  }
private static function executeTableShowTableColumn ( array $ column , $ value ) : void { $ spaces = str_repeat ( ' ' , $ column [ 'length' ] - mb_strlen ( ( string ) $ value ) ) ; switch ( $ column [ 'type' ] ) { case 1 : // tinyint case 2 : // smallint case 3 : // int case 4 : // float case 5 : // double case 8 : // bigint case 9 : // mediumint case 246 : // decimal echo ' ' , $ spaces . $ value , ' ' ; break ; case 7 : // timestamp case 10 : // date case 11 : // time case 12 : // datetime case 13 : // year case 16 : // bit case 252 : // is currently mapped to all text and blob types (MySQL 5.0.51a) case 253 : // varchar case 254 : // char echo ' ' , $ value . $ spaces , ' ' ; break ; default : throw new FallenException ( 'data type id' , $ column [ 'type' ] ) ; } }
Helper method for method executeTable. Shows table cell with data.

@param array $column The metadata of the column.
@param mixed $value  The value of the table cell.
Helper method for method executeTable . Shows table cell with data .