GetLogoutPath   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php namespace Anomaly\UsersModule\User\Command;
2
3
4
use Illuminate\Contracts\Config\Repository;
5
6
/**
7
 * Class GetLogoutPath
8
 *
9
 * @link          http://pyrocms.com/
10
 * @author        PyroCMS, Inc. <[email protected]>
11
 * @author        Ryan Thompson <[email protected]>
12
 */
13
class GetLogoutPath
14
{
15
16
    /**
17
     * Handle the command.
18
     *
19
     * @param  Repository $config
20
     * @return string
21
     */
22
    public function handle(Repository $config)
23
    {
24
        return $config->get('anomaly.module.users::paths.logout');
25
    }
26
}
27