mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-10-18 00:26:18 +02:00
31 lines
422 B
PHP
31 lines
422 B
PHP
<?php
|
|
|
|
namespace PhpZip\Mapper;
|
|
|
|
/**
|
|
* Maps a given position.
|
|
*
|
|
* @author Ne-Lexa alexey@nelexa.ru
|
|
* @license MIT
|
|
*/
|
|
class PositionMapper
|
|
{
|
|
/**
|
|
* @param int $position
|
|
* @return int
|
|
*/
|
|
public function map($position)
|
|
{
|
|
return $position;
|
|
}
|
|
|
|
/**
|
|
* @param int $position
|
|
* @return int
|
|
*/
|
|
public function unmap($position)
|
|
{
|
|
return $position;
|
|
}
|
|
}
|