use Zend\Db\TableGateway\TableGateway;
use Zend\Db\TableGateway\AbstractTableGateway;
use Zend\Db\TableGateway\Feature;
use Zend\Db\Sql\Select;
use Zend\Session\Container;
嗨,我是 ZF2 的新手,我无法回应它。
$rowset = $this->tableGateway->select(array('id' => $id));
$row = $rowset->current();
echo $row->name;