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

12 lines
228 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 SofEofMapper extends Mapper {
function mapper($item) {
if ($this->sof) return "<";
elseif (!$this->eof) return $item;
else return ">";
}
}