public function fetchEntityById($id)
    {
        $select = $this->tableGateway->getSql()->select();
        $select->where->equalTo($this->tableGateway->getPrimaryKey(), $id);

        return $this->tableGateway->fetchEntity($select);
    }