original_string: public function get($table = null)
      {
          $schema = $this->generate();
  
          if ($table !== null) {
              if (isset($schema[$table]) === false) {
                  throw new Exception('Unknown table "' . $table . '"');
              }
  
              $schema = $schema[$table];
          }
  
          return $schema;
      }
code: public function get($table = null)
      {
          $schema = $this->generate();
  
          if ($table !== null) {
              if (isset($schema[$table]) === false) {
                  throw new Exception('Unknown table "' . $table . '"');
              }
  
              $schema = $schema[$table];
          }
  
          return $schema;
      }
code_tokens: public function get ( $ table = null ) { $ schema = $ this -> generate ( ) ; if ( $ table !== null ) { if ( isset ( $ schema [ $ table ] ) === false ) { throw new Exception ( 'Unknown table "' . $ table . '"' ) ; } $ schema = $ schema [ $ table ] ; } return $ schema ; }
docstring: Get schema definition for database or given table
  
  @param string|null $table
  @return array
  @throws \Rio\Exception
docstring_tokens: Get schema definition for database or given table