Completed
Push — master ( 18f9b1...e2cca3 )
by Dawid
07:34
created

Collection   A

Complexity

Total Complexity 20

Size/Duplication

Total Lines 124
Duplicated Lines 0 %

Test Coverage

Coverage 57.14%

Importance

Changes 0
Metric Value
wmc 20
dl 0
loc 124
ccs 32
cts 56
cp 0.5714
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Igni\Storage\Mapping;
4
5
use Countable;
6
use Iterator;
7
8
interface Collection extends Iterator, Countable
9
{
10
    public function contains($item): bool;
11
    public function first();
12
    public function last();
13
    public function at(int $index);
14
    public function toArray(): array;
15
}
16