2020-06-23 22:24:56 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Driver\SQL\Condition;
|
|
|
|
|
|
|
|
class CondIn extends Condition {
|
|
|
|
|
2021-12-08 16:53:43 +01:00
|
|
|
private $needle;
|
|
|
|
private $haystack;
|
2020-06-23 22:24:56 +02:00
|
|
|
|
2021-12-08 16:53:43 +01:00
|
|
|
public function __construct($needle, $haystack) {
|
|
|
|
$this->needle = $needle;
|
|
|
|
$this->haystack = $haystack;
|
2020-06-23 22:24:56 +02:00
|
|
|
}
|
|
|
|
|
2021-12-08 16:53:43 +01:00
|
|
|
public function getNeedle() { return $this->needle; }
|
|
|
|
public function getHaystack() { return $this->haystack; }
|
2020-06-23 22:24:56 +02:00
|
|
|
}
|