Completed
Push — master ( 1de13c...bf55ce )
by Alex
33:38
created

AuthCodeTrait::setRedirectUri()   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 1
1
<?php
2
/**
3
 * @author      Alex Bilbie <[email protected]>
4
 * @copyright   Copyright (c) Alex Bilbie
5
 * @license     http://mit-license.org/
6
 *
7
 * @link        https://github.com/thephpleague/oauth2-server
8
 */
9
10
namespace League\OAuth2\Server\Entities\Traits;
11
12
trait AuthCodeTrait
13
{
14
    /**
15
     * @var null|string
16
     */
17
    protected $redirectUri;
18
19
    /**
20
     * @return string
21
     */
22
    public function getRedirectUri()
23
    {
24
        return $this->redirectUri;
25
    }
26
27
    /**
28
     * @param string $uri
29
     */
30
    public function setRedirectUri($uri)
31
    {
32
        $this->redirectUri = $uri;
33
    }
34
}
35