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;
    }