Completed
Push — master ( 89ec3c...2cd44b )
by WEBEWEB
01:09
created

RangeEvent::getRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the haveibeenpwned-bundle package.
5
 *
6
 * (c) 2019 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\HaveIBeenPwnedBundle\Event;
13
14
use WBW\Library\HaveIBeenPwned\Model\Request\RangeRequest;
15
use WBW\Library\HaveIBeenPwned\Model\Response\RangesResponse;
16
17
/**
18
 * Range event.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\HaveIBeenPwnedBundle\Event
22
 */
23
class RangeEvent extends AbstractHaveIBeenPwnedEvent {
24
25
    /**
26
     * Constructor.
27
     */
28
    public function __construct() {
29
        parent::__construct(HaveIBeenPwnedEvents::RANGE, null);
30
    }
31
32
    /**
33
     * Get the range request.
34
     *
35
     * @return RangeRequest Returns the range request.
36
     */
37
    public function getRequest() {
38
        return parent::getRequest();
39
    }
40
41
    /**
42
     * Get the ranges response.
43
     *
44
     * @return RangesResponse Returns the ranges response.
45
     */
46
    public function getResponse() {
47
        return parent::getResponse();
48
    }
49
}
50