original_string: public function connection()
      {
          $db = ConnectionManager::get('default');
          foreach ($db->config() as $key => $value) {
              if (is_array($value)) {
                  continue;
              }
              $this->out(sprintf('- %s: %s', $key, $value));
          }
      }
code: public function connection()
      {
          $db = ConnectionManager::get('default');
          foreach ($db->config() as $key => $value) {
              if (is_array($value)) {
                  continue;
              }
              $this->out(sprintf('- %s: %s', $key, $value));
          }
      }
code_tokens: public function connection ( ) { $ db = ConnectionManager :: get ( 'default' ) ; foreach ( $ db -> config ( ) as $ key => $ value ) { if ( is_array ( $ value ) ) { continue ; } $ this -> out ( sprintf ( '- %s: %s' , $ key , $ value ) ) ; } }
docstring: Display database connection information.
  
  @return void
docstring_tokens: Display database connection information .