public function _filterOrExclude($conditions = null) { $instance = $this->_clone(); // $roles = $qb->select("*") // ->from('testing_user') // ->where("username ="******"df")) // ->execute() // ->fetchAll(); Lookup::filters($instance->qb, $conditions); return $instance; }
/** * @dataProvider providerLookupCombine * * @param $value * @param $expected * * @since 1.1.0 * * @author Eddilbert Macharia (http://eddmash.com) <*****@*****.**> */ public function testLookupCombine($value, $expected) { $this->assertEquals($expected, Lookup::combine($value)); }