21 declare(strict_types=1);
31 public function scheduleQuery(
int $queryId,
int $mode,
string $query, array $params) : void{
32 $this[] =
serialize([$queryId, $mode, $query, $params]);
35 public function fetchQuery(&$queryId, &$mode, &$query, &$params) : bool{
36 $row = $this->shift();
38 [$queryId, $mode, $query, $params] =
unserialize($row, [
"allowed_classes" =>
true]);
scheduleQuery(int $queryId, int $mode, string $query, array $params)
fetchQuery(&$queryId, &$mode, &$query, &$params)