Completed
Push — master ( b756cf...e02933 )
by ARCANEDEV
9s
created

Collection::whereIn()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 2
b 0
f 0
nc 1
nop 3
dl 0
loc 6
ccs 3
cts 3
cp 1
crap 1
rs 9.4285
1
<?php namespace Arcanedev\Support;
2
3
use Illuminate\Support\Collection as IlluminateCollection;
4
5
/**
6
 * Class     Collection
7
 *
8
 * @package  Arcanedev\Support
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class Collection extends IlluminateCollection
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Custom Functions
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Reset the collection.
19
     *
20
     * @return static
21
     */
22
    public function reset()
23
    {
24
        $this->items = [];
25
26
        return $this;
27
    }
28
}
29