11 lines
160 B
PHP
11 lines
160 B
PHP
|
<?php
|
||
|
namespace nur\mapper\base\impl;
|
||
|
|
||
|
use nur\mapper\base\Mapper;
|
||
|
|
||
|
class PlusOneMapper extends Mapper {
|
||
|
function mapper($item) {
|
||
|
return $item + 1;
|
||
|
}
|
||
|
}
|