Integrations   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Integrations;
4
5
use Illuminate\Database\Eloquent\Collection;
6
use Illuminate\Database\Eloquent\Model;
7
use Illuminate\Filesystem\Filesystem;
8
use Illuminate\Support\Arr;
9
use Illuminate\Support\Facades\Cache;
10
use Illuminate\Support\Facades\Storage;
11
use Illuminate\Support\Str;
12
use View;
13
use Config;
14
use Request;
15
use Session;
16
use ReflectionClass;
17
use Muleta\Packagist\Traits\PackageVersionTrait;
18
use Crypto;
19
20
class Integrations
21
{
22
    use PackageVersionTrait;
23
    protected $filesystem;
24
    protected $packageName = TransmissorProvider::pathVendor;
25
26
    /**
27
     * The current locale, cached in memory
28
     *
29
     * @var string
30
     */
31
    private $locale;
32
33
    public function __construct()
34
    {
35
        $this->filesystem = app(Filesystem::class);
36
37
        $this->findVersion();
38
    }
39
}
40