| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 7 | public function __construct(Index $alias, array $typeContexts, array $settings = null) |
|
| 23 | { |
||
| 24 | 7 | $this->alias = $alias; |
|
| 25 | 7 | $this->typeContexts = $typeContexts; |
|
| 26 | 7 | $this->settings = $settings; |
|
| 27 | |||
| 28 | 7 | $client = $alias->getClient(); |
|
| 29 | |||
| 30 | 7 | $this->indicies = array( |
|
| 31 | 7 | new Index($client, $alias->getName().'1'), |
|
| 32 | 7 | new Index($client, $alias->getName().'2'), |
|
| 33 | ); |
||
| 34 | 7 | } |
|
| 35 | |||
| 68 |