Completed
Push — master ( fa7b60...6c1318 )
by Mahmoud
03:02
created

PermissionRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A model() 0 4 1
1
<?php
2
3
namespace App\Containers\Authorization\Data\Repositories;
4
5
use App\Containers\Authorization\Models\Permission;
6
use App\Port\Repository\Abstracts\Repository;
7
8
/**
9
 * Class PermissionRepository.
10
 *
11
 * @author Mahmoud Zalt <[email protected]>
12
 */
13
class PermissionRepository extends Repository
14
{
15
16
    /**
17
     * @var array
18
     */
19
    protected $fieldSearchable = [
20
21
    ];
22
23
    /**
24
     * Specify Model class name.
25
     *
26
     * @return string
27
     */
28
    public function model()
29
    {
30
        return Permission::class;
31
    }
32
}
33