public static function isIn(array $values) { return new IsInRestriction($values); }
/** * @test */ public function shouldReturnNullForEmptyArray() { //given $restriction = Restrictions::isIn(array()); //when $sql = $restriction->toSql('category_id'); //then $this->assertNull($sql); }