| 1 | <?php |
||
| 17 | class KeyUnsetTransformer extends TransformerAbstract |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * array of key to unset |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $unsetList; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array $unsetList array of key to unset |
||
| 28 | */ |
||
| 29 | public function __construct(array $unsetList) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Unsets keys in array |
||
| 36 | * |
||
| 37 | * @param mixed $record |
||
| 38 | * |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function exec($record) |
||
| 49 | } |
||
| 50 |