| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | public function __construct($entity, array $in, array $out, $mediator, $container = null) |
||
| 34 | { |
||
| 35 | $this->entity = $this->normalizeNamespace($entity); |
||
| 36 | $this->container = $this->containerName($container); |
||
| 37 | |||
| 38 | $this->mediator = $this->normalizeNamespace($mediator); |
||
| 39 | |||
| 40 | $this->assertTroughKeys($in, $out); |
||
| 41 | $this->assignKeys($in, $this->in); |
||
| 42 | $this->assignKeys($out, $this->out); |
||
| 43 | $this->keys = array_combine(array_keys($this->in), array_values($this->out)); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |