Completed
Push — master ( 5c8721...fc356f )
by Antonio Carlos
02:14
created

Request::getRequest()   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 PragmaRX\Google2FALaravel\Support;
4
5
trait Request
6
{
7
    /**
8
     * The request instance.
9
     *
10
     * @var
11
     */
12
    protected $request;
13
14
    /**
15
     * Get the request property.
16
     *
17
     * @return mixed
18
     */
19
    public function getRequest()
20
    {
21
        return $this->request;
22
    }
23
24
    /**
25
     * Set the request property.
26
     *
27
     * @param mixed $request
28
     *
29
     * @return $this
30
     */
31
    public function setRequest($request)
32
    {
33
        $this->request = $request;
34
35
        return $this;
36
    }
37
}
38