Completed
Push — master ( f84666...e52fc0 )
by Evan
01:46
created

Collection

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 3
c 0
b 0
f 0
1
<?php
2
3
namespace Silk\Support;
4
5
/**
6
 * The Tightenco namespaced Collection class has only been available since 5.5.33
7
 * with aliases for the previous Illuminate\Support class for backwards compat.
8
 *
9
 * For PHP 5.6, v5.4 of the library will be installed, thus the namespaced version
10
 * won't be available.
11
 */
12
13
// @codeCoverageIgnoreStart
14
if (class_exists('Tightenco\Collect\Support\Collection')) {
15
    class Collection extends \Tightenco\Collect\Support\Collection
16
    {
17
    }
18
} else {
19
    class Collection extends \Illuminate\Support\Collection
20
    {
21
    }
22
}
23
// @codeCoverageIgnoreEnd
24