nur-sery/nur_tests/mapper/base/impl/ResultConsumer.php

16 lines
251 B
PHP
Raw Normal View History

2024-04-04 16:26:22 +04:00
<?php
namespace nur\mapper\base\impl;
use nur\mapper\base\Consumer;
class ResultConsumer extends Consumer {
function cook($item) {
$this->result[] = $item;
}
public $result;
function getResult(): array {
return $this->result;
}
}