begin of mapper abstract class

This commit is contained in:
Jacson Passold 2018-03-16 15:47:10 -03:00
parent 61021b33a6
commit c161d54256
1 changed files with 6 additions and 1 deletions

View File

@ -3,5 +3,10 @@
namespace Tainacan\Exposers\Mappers;
abstract class Mapper {
public abstract function rest_response();
public $type = null;
public $name = null;
public $allow_extra_fields = true;
public $context_url = null;
public abstract function rest_response($item_arr, $request);
}