<?php

namespace Signteer\Core\Criteria;

class SheetCriteria
{
    private array $id = [];
    private array $title = [];

    public function whereId(string $compare, $v): self
    {
        $ret = clone $this;
        $ret->id[] = [$compare, $v];

        return $ret;
    }

    public function whereTitle(string $compare, $v): self
    {
        $ret = clone $this;
        $ret->title[] = [$compare, $v];

        return $ret;
    }

    public function getWhereId(): array
    {
        return $this->id;
    }

    public function getWhereTitle(): array
    {
        return $this->title;
    }
}
