| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class DynamoDbCollection extends Collection |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \BaoPham\DynamoDb\ConditionAnalyzer\Index |
||
| 12 | */ |
||
| 13 | private $conditionIndex = null; |
||
| 14 | |||
| 15 | 92 | public function __construct(array $items = [], Index $conditionIndex = null) |
|
| 16 | { |
||
| 17 | 92 | parent::__construct($items); |
|
| 18 | |||
| 19 | 92 | $this->conditionIndex = $conditionIndex; |
|
| 20 | 92 | } |
|
| 21 | |||
| 22 | 4 | public function lastKey() |
|
| 39 | } |
||
| 40 | } |
||
| 41 |