@@ -42,20 +42,20 @@ |
||
| 42 | 42 | { |
| 43 | 43 | $columns = []; |
| 44 | 44 | if ($type == RabbitMQDriver::TYPE_QUEUE) { |
| 45 | - $columns[] = (new Column('message_body', 'rabbitmq.columns.' . $type . '.message_body')) |
|
| 45 | + $columns[] = (new Column('message_body', 'rabbitmq.columns.'.$type.'.message_body')) |
|
| 46 | 46 | ->setIsSortable(true) |
| 47 | 47 | ->setIsFilterable(true); |
| 48 | - $columns[] = (new Column('length', 'rabbitmq.columns.' . $type . '.length')) |
|
| 48 | + $columns[] = (new Column('length', 'rabbitmq.columns.'.$type.'.length')) |
|
| 49 | 49 | ->setIsNumeric(true) |
| 50 | 50 | ->setIsSortable(true) |
| 51 | 51 | ->setIsFilterable(true); |
| 52 | - $columns[] = (new Column('is_truncated', 'rabbitmq.columns.' . $type . '.is_truncated')) |
|
| 52 | + $columns[] = (new Column('is_truncated', 'rabbitmq.columns.'.$type.'.is_truncated')) |
|
| 53 | 53 | ->setIsSortable(true) |
| 54 | 54 | ->setIsFilterable(true); |
| 55 | - $columns[] = (new Column('content_encoding', 'rabbitmq.columns.' . $type . '.content_encoding')) |
|
| 55 | + $columns[] = (new Column('content_encoding', 'rabbitmq.columns.'.$type.'.content_encoding')) |
|
| 56 | 56 | ->setIsSortable(true) |
| 57 | 57 | ->setIsFilterable(true); |
| 58 | - $columns[] = (new Column('redelivered', 'rabbitmq.columns.' . $type . '.redelivered')) |
|
| 58 | + $columns[] = (new Column('redelivered', 'rabbitmq.columns.'.$type.'.redelivered')) |
|
| 59 | 59 | ->setIsSortable(true) |
| 60 | 60 | ->setIsFilterable(true); |
| 61 | 61 | } |
@@ -55,20 +55,20 @@ |
||
| 55 | 55 | { |
| 56 | 56 | $columns = []; |
| 57 | 57 | if ($type == RedisDriver::TYPE_KEY || $type == RedisDriver::TYPE_HASH) { |
| 58 | - $columns[] = (new Column('key', 'redis.columns.' . $type . '.key')) |
|
| 58 | + $columns[] = (new Column('key', 'redis.columns.'.$type.'.key')) |
|
| 59 | 59 | ->setIsSortable(true) |
| 60 | 60 | ->setIsFilterable(true); |
| 61 | - $columns[] = (new Column('length', 'redis.columns.' . $type . '.length')) |
|
| 61 | + $columns[] = (new Column('length', 'redis.columns.'.$type.'.length')) |
|
| 62 | 62 | ->setIsSortable(true) |
| 63 | 63 | ->setIsFilterable(true); |
| 64 | - $columns[] = (new Column('value', 'redis.columns.' . $type . '.value')) |
|
| 64 | + $columns[] = (new Column('value', 'redis.columns.'.$type.'.value')) |
|
| 65 | 65 | ->setIsSortable(true) |
| 66 | 66 | ->setIsFilterable(true); |
| 67 | 67 | } elseif ($type == RedisDriver::TYPE_SET) { |
| 68 | - $columns[] = (new Column('member', 'redis.columns.' . $type . '.member')) |
|
| 68 | + $columns[] = (new Column('member', 'redis.columns.'.$type.'.member')) |
|
| 69 | 69 | ->setIsSortable(true) |
| 70 | 70 | ->setIsFilterable(true); |
| 71 | - $columns[] = (new Column('length', 'redis.columns.' . $type . '.length')) |
|
| 71 | + $columns[] = (new Column('length', 'redis.columns.'.$type.'.length')) |
|
| 72 | 72 | ->setIsSortable(true) |
| 73 | 73 | ->setIsFilterable(true); |
| 74 | 74 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | $columns = []; |
| 24 | 24 | foreach ($fields as $key => $settings) { |
| 25 | - $column = (new Column($key, 'memcache.headers.servers.' . $key)) |
|
| 25 | + $column = (new Column($key, 'memcache.headers.servers.'.$key)) |
|
| 26 | 26 | ->setIsSortable(true); |
| 27 | 27 | if (isset($settings['is_numeric'])) { |
| 28 | 28 | $column->setIsNumeric($settings['is_numeric']); |
@@ -47,22 +47,22 @@ discard block |
||
| 47 | 47 | { |
| 48 | 48 | $columns = []; |
| 49 | 49 | if ($type == MemcacheDriver::TYPE_KEY) { |
| 50 | - $columns[] = (new Column('key', 'memcache.columns.' . $type . '.key')) |
|
| 50 | + $columns[] = (new Column('key', 'memcache.columns.'.$type.'.key')) |
|
| 51 | 51 | ->setIsSortable(true) |
| 52 | 52 | ->setIsFilterable(true); |
| 53 | - $columns[] = (new Column('value', 'memcache.columns.' . $type . '.value')) |
|
| 53 | + $columns[] = (new Column('value', 'memcache.columns.'.$type.'.value')) |
|
| 54 | 54 | ->setIsSortable(true) |
| 55 | 55 | ->setIsFilterable(true); |
| 56 | - $columns[] = (new Column('length', 'memcache.columns.' . $type . '.length')) |
|
| 56 | + $columns[] = (new Column('length', 'memcache.columns.'.$type.'.length')) |
|
| 57 | 57 | ->setIsSortable(true) |
| 58 | 58 | ->setIsFilterable(true) |
| 59 | 59 | ->setIsNumeric(true); |
| 60 | - $columns[] = (new Column('expiration', 'memcache.columns.' . $type . '.expiration')) |
|
| 60 | + $columns[] = (new Column('expiration', 'memcache.columns.'.$type.'.expiration')) |
|
| 61 | 61 | ->setIsSortable(true) |
| 62 | 62 | ->setIsFilterable(true) |
| 63 | 63 | ->setIsNumeric(true) |
| 64 | 64 | ->setIsTime(true); |
| 65 | - $columns[] = (new Column('compressed', 'memcache.columns.' . $type . '.compressed')) |
|
| 65 | + $columns[] = (new Column('compressed', 'memcache.columns.'.$type.'.compressed')) |
|
| 66 | 66 | ->setIsSortable(true) |
| 67 | 67 | ->setIsFilterable(true); |
| 68 | 68 | } |