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