/** * @test */ public function getValues() { $params = ['foo' => 123, 'bar' => 456]; $set = new Set($params); $expect = [123, 456]; $this->assertSame($expect, $set->getValues(), '-> returns the array values that be used for "SET" clause.'); }
/** * @override \Ackintosh\Higher\Interfaces\DML::getValues() */ public function getValues() { $values = array_merge($this->set->getValues(), $this->where->getValues()); return $values; }