src/Table/TableData.php
public function getRow($rowKey) : TableDataRow
    {
        $this->validateRowKey(__METHOD__, $rowKey);
        $this->loadRows();

        $rowHash = ValueHasher::hash($rowKey);

        if (!isset($this->rows[$rowHash])) {
            throw InvalidArgumentException::format(
                'Invalid row key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given',
                __METHOD__, Debug::formatValues(array_keys($this->rows)), $rowHash
            );
        }

        return $this->rows[$rowHash];
    }
public function getRow($rowKey) : TableDataRow
    {
        $this->validateRowKey(__METHOD__, $rowKey);
        $this->loadRows();

        $rowHash = ValueHasher::hash($rowKey);

        if (!isset($this->rows[$rowHash])) {
            throw InvalidArgumentException::format(
                'Invalid row key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given',
                __METHOD__, Debug::formatValues(array_keys($this->rows)), $rowHash
            );
        }

        return $this->rows[$rowHash];
    }
public function getRow ( $ rowKey ) : TableDataRow { $ this -> validateRowKey ( __METHOD__ , $ rowKey ) ; $ this -> loadRows ( ) ; $ rowHash = ValueHasher :: hash ( $ rowKey ) ; if ( ! isset ( $ this -> rows [ $ rowHash ] ) ) { throw InvalidArgumentException :: format ( 'Invalid row key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given' , __METHOD__ , Debug :: formatValues ( array_keys ( $ this -> rows ) ) , $ rowHash ) ; } return $ this -> rows [ $ rowHash ] ; }
Gets the table row with the supplied key.

@param mixed $rowKey

@return TableDataRow
@throws InvalidArgumentException
@throws TypeMismatchException
Gets the table row with the supplied key .