src/Behat/Gherkin/Node/TableNode.php
public function getRowsHash()
    {
        $hash = array();

        foreach ($this->getRows() as $row) {
            $hash[array_shift($row)] = (1 == count($row)) ? $row[0] : $row;
        }

        return $hash;
    }
public function getRowsHash()
    {
        $hash = array();

        foreach ($this->getRows() as $row) {
            $hash[array_shift($row)] = (1 == count($row)) ? $row[0] : $row;
        }

        return $hash;
    }
public function getRowsHash ( ) { $ hash = array ( ) ; foreach ( $ this -> getRows ( ) as $ row ) { $ hash [ array_shift ( $ row ) ] = ( 1 == count ( $ row ) ) ? $ row [ 0 ] : $ row ; } return $ hash ; }
Returns table hash, formed by rows.

@return array
Returns table hash formed by rows .