Completed
Push — Framework-Dependencies-Upgrade ( 998813...01c962 )
by Sheela
07:38
created

CollectionList::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
crap 1
1
<?php
2
3
namespace SET\Handlers\Calendar;
4
5
use Illuminate\Database\Eloquent\Collection;
6
7
abstract class CollectionList
8
{
9
    protected $start;
10
    protected $end;
11
12 9
    public function __construct($start, $end)
13
    {
14 9
        $this->start = $start;
15 9
        $this->end = $end;
16 9
    }
17
18
    abstract public function getList() : Collection;
19
}
20