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

10 lines
172 B
PHP

<?php
namespace nur\mapper\base\impl;
use nur\mapper\base\Mapper;
class MultMapper extends Mapper {
function mapper($item) {
$this->mapTo([$item, $item * 2]);
}
}