public function columns($table)
    {
        try {
            $columns = $this->driver->columns($table);

            return $columns;
        } catch (\PDOException $error) {
            $text = (string) $error->getMessage();

            throw new TableNotFoundException($text);
        }
    }
public function columns($table)
    {
        try {
            $columns = $this->driver->columns($table);

            return $columns;
        } catch (\PDOException $error) {
            $text = (string) $error->getMessage();

            throw new TableNotFoundException($text);
        }
    }
public function columns ( $ table ) { try { $ columns = $ this -> driver -> columns ( $ table ) ; return $ columns ; } catch ( \ PDOException $ error ) { $ text = ( string ) $ error -> getMessage ( ) ; throw new TableNotFoundException ( $ text ) ; } }
Returns an array of Column instances from a table.

@param  string $table
@return \Rougin\Describe\Column[]

@throws \Rougin\Describe\Exceptions\TableNotFoundException
Returns an array of Column instances from a table .