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

PermissionRepository::model()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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