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

10 lines
172 B
PHP
Raw Normal View History

2024-04-04 16:26:22 +04:00
<?php
namespace nur\mapper\base\impl;
use nur\mapper\base\Mapper;
class MultMapper extends Mapper {
function mapper($item) {
$this->mapTo([$item, $item * 2]);
}
}