public function describe($table)
    {
        $schema = $this->db->connection()
            ->getDoctrineConnection()
            ->getSchemaManager();

        return $this->parseSchema(
            $schema->listTableColumns($table)
        );
    }
public function describe($table)
    {
        $schema = $this->db->connection()
            ->getDoctrineConnection()
            ->getSchemaManager();

        return $this->parseSchema(
            $schema->listTableColumns($table)
        );
    }
public function describe ( $ table ) { $ schema = $ this -> db -> connection ( ) -> getDoctrineConnection ( ) -> getSchemaManager ( ) ; return $ this -> parseSchema ( $ schema -> listTableColumns ( $ table ) ) ; }
Describe all columns in a single table

@param string $table
@return array
Describe all columns in a single table