AcachaUsers   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 79
rs 10
c 1
b 0
f 0
wmc 6
lcom 0
cbo 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A configAuth() 0 7 1
A languages() 0 6 1
A views() 0 7 1
A configUsers() 0 7 1
A seeds() 0 7 1
A factories() 0 7 1
1
<?php
2
3
namespace Acacha\Users;
4
5
/**
6
 * Class AcachaUsers.
7
 */
8
class AcachaUsers
9
{
10
    /**
11
     * Languages assets copy path.
12
     *
13
     * @return array
14
     */
15
    public function languages()
16
    {
17
        return [
18
            ACACHA_USERS_PATH.'/resources/lang' => resource_path('lang/vendor/acacha_users_lang'),
19
        ];
20
    }
21
22
    /**
23
     * Views copy path.
24
     *
25
     * @return array
26
     */
27
    public function views()
28
    {
29
        return [
30
            ACACHA_USERS_PATH.'/resources/views/managment.blade.php' =>
31
                resource_path('views/vendor/acacha_users/managment.blade.php')
32
        ];
33
    }
34
35
    /**
36
     * Config auth copy path.
37
     *
38
     * @return array
39
     */
40
    public function configAuth()
41
    {
42
        return [
43
            ACACHA_USERS_PATH.'/config/auth.php' =>
44
                config_path('auth.php')
45
        ];
46
    }
47
48
    /**
49
     * Config auth copy path.
50
     *
51
     * @return array
52
     */
53
    public function configUsers()
54
    {
55
        return [
56
            ACACHA_USERS_PATH.'/config/users.php' =>
57
                config_path('users.php')
58
        ];
59
    }
60
61
    /**
62
     * Seeds copy path.
63
     *
64
     * @return array
65
     */
66
    public function seeds()
67
    {
68
        return [
69
            ACACHA_USERS_PATH.'/database/seeds' =>
70
                database_path('seeds')
71
        ];
72
    }
73
74
    /**
75
     * Factories copy path.
76
     *
77
     * @return array
78
     */
79
    public function factories()
80
    {
81
        return [
82
            ACACHA_USERS_PATH.'/database/factories' =>
83
                database_path('factories')
84
        ];
85
    }
86
}
87