19declare(strict_types=1);
38 string ...$lp_status_ids
41 foreach ($lp_status_ids as $lp_status_id) {
43 if (is_null($element)) {
48 return $this->
factory->collection(...$elements);
54 foreach ($this->elements as $element) {
55 if ($element->getLPStatusId() === $lp_status_id) {
64 return $this->elements[$this->index];
72 public function next(): void
79 return isset($this->elements[$this->index]);
89 return count($this->elements);
getElementByStatusId(string $lp_status_id)
getElementsByStatusIds(string ... $lp_status_ids)
__construct(protected FactoryInterface $factory, LPStatusInterface ... $elements)
foreach( $report as $row)