original_string: public function get_tables(string $database=''): ?array
    {
      if ( empty($database) ){
        $database = $this->current;
      }
      return $this->_get_cache($database, 'tables');
    }
code: public function get_tables(string $database=''): ?array
    {
      if ( empty($database) ){
        $database = $this->current;
      }
      return $this->_get_cache($database, 'tables');
    }
code_tokens: public function get_tables ( string $ database = '' ) : ? array { if ( empty ( $ database ) ) { $ database = $ this -> current ; } return $ this -> _get_cache ( $ database , 'tables' ) ; }
docstring: Return tables' names of a database as an array.
  
  ```php
  \bbn\x::dump($db->get_tables('db_example'));
  /*
  (array) [
  "clients",
  "columns",
  "cron",
  "journal",
  "dbs",
  "examples",
  "history",
  "hosts",
  "keys",
  "mails",
  "medias",
  "notes",
  "medias",
  "versions"
  ]
  ```
  
  @param string $database Database name
  @return null|array
docstring_tokens: Return tables names of a database as an array .