| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class KeyUnsetTransformer extends TransformerAbstract |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * array of key to unset |
||
| 22 | * |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $unsetList; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $unsetList array of key to unset |
||
| 29 | * |
||
| 30 | * @throws NodalFlowException |
||
| 31 | */ |
||
| 32 | public function __construct(array $unsetList) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Unsets keys in array |
||
| 40 | * |
||
| 41 | * @param array $record |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function exec($record = null) |
||
| 54 |