/** * Constructor * * @param Adapter $adapter * @param null|string|array|\Zend\Db\Sql\TableIdentifier $table */ public function __construct(Adapter $adapter = null, $table = null) { if ($adapter) { $this->setDbAdapter($adapter); } parent::__construct($table); }
/** * Constructor * * @param array|null $values */ public function __construct(array $values = null) { parent::__construct('dual'); if (null !== $values) { $this->values($values); } }