src/Behat/Gherkin/Node/TableNode.php
public function getColumnsHash()
    {
        $rows = $this->getRows();
        $keys = array_shift($rows);

        $hash = array();
        foreach ($rows as $row) {
            $hash[] = array_combine($keys, $row);
        }

        return $hash;
    }
public function getColumnsHash()
    {
        $rows = $this->getRows();
        $keys = array_shift($rows);

        $hash = array();
        foreach ($rows as $row) {
            $hash[] = array_combine($keys, $row);
        }

        return $hash;
    }
public function getColumnsHash ( ) { $ rows = $ this -> getRows ( ) ; $ keys = array_shift ( $ rows ) ; $ hash = array ( ) ; foreach ( $ rows as $ row ) { $ hash [ ] = array_combine ( $ keys , $ row ) ; } return $ hash ; }
Returns table hash, formed by columns.

@return array
Returns table hash formed by columns .