Completed
Push — master ( 6010a8...de901a )
by Derek Stephen
04:15
created

User::getIdentifier()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: DM0C60544
5
 * Date: 21/3/2017
6
 * Time: 4:17 PM
7
 */
8
9
namespace OAuth;
10
11
use Del\Entity\User as UserEntity;
12
use League\OAuth2\Server\Entities\UserEntityInterface;
13
14
class User extends UserEntity implements UserEntityInterface
15
{
16
    /**
17
     * @return int
18
     */
19
    public function getIdentifier()
20
    {
21
        return $this->getID();
22
    }
23
24
}