Phpmig\Adapter\Zend\DbAdapter::fetchAll PHP Method

fetchAll() public method

Get all migrated version numbers
public fetchAll ( ) : array
return array
    public function fetchAll()
    {
        $result = $this->tableGateway()->select(function (Select $select) {
            $select->order('version ASC');
        })->toArray();
        // imitate fetchCol
        return array_map(function ($item) {
            return $item['version'];
        }, $result);
    }