public function getParameters() { return Arrays::concat(Arrays::map($this->conditions, function (WhereClause $where) { return $where->getParameters(); })); }
/** * @test */ public function shouldConcatEmptyArray() { //given $array = array(); //when $flattened = Arrays::concat($array); //then $this->assertEquals(array(), $flattened); }