src/UthandoCommon/Db/Table/AbstractTable.php
public function getById($id)
    {
        $id = (int) $id;
        $rowSet = $this->getTableGateway()->select([$this->getPrimaryKey() => $id]);
        $row = $rowSet->current();
        return $row;
    }
public function getById($id)
    {
        $id = (int) $id;
        $rowSet = $this->getTableGateway()->select([$this->getPrimaryKey() => $id]);
        $row = $rowSet->current();
        return $row;
    }
public function getById ( $ id ) { $ id = ( int ) $ id ; $ rowSet = $ this -> getTableGateway ( ) -> select ( [ $ this -> getPrimaryKey ( ) => $ id ] ) ; $ row = $ rowSet -> current ( ) ; return $ row ; }
Get one row by it's id

@param $id
@return array|\ArrayObject|ModelInterface|null
Get one row by it s id