RT
Size: a a a
RT
RT
RT
AR
public function read(): iterableЕсли зависимость от SqlFilter уж есть, не проще ли для использования бует все-таки сделать
{
// ...
if ($this->filter instanceof SqlFilter) {
$condition = $this->filter->build();
}
// ...
}
$sqlReader->withCriteria(new Criteria())->withLimit(100)
И в SqlReaderpublic function read(): iterable
{
// ...
if ($this->criteria !== null) {
$condition = (new SqlFilter($this->criteria))->build();
}
// ...
}
AM
RT
RT
RT
RB
RB
AM
RT
RT
AM
AM
RT
AM
AM
RT
М