TestEventListener::onSmsReplyCallback()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the smsmode-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\SmsModeBundle\Tests\Fixtures\EventListener;
13
14
use WBW\Bundle\SmsModeBundle\Event\DeliveryReportCallbackEvent;
15
use WBW\Bundle\SmsModeBundle\Event\SmsReplyCallbackEvent;
16
17
/**
18
 * Test event listener.
19
 *
20
 * @author webeweb <https://github.com/webeweb>
21
 * @package WBW\Bundle\SmsModeBundle\Tests\Fixtures\EventListener
22
 */
23
class TestEventListener {
24
25
    /**
26
     * On delivery report callback.
27
     *
28
     * @param DeliveryReportCallbackEvent $event The event.
29
     * @return DeliveryReportCallbackEvent Returns the event.
30
     */
31
    public function onDeliveryReportCallback(DeliveryReportCallbackEvent $event): DeliveryReportCallbackEvent {
32
        return $event;
33
    }
34
35
    /**
36
     * On SMS reply callback.
37
     *
38
     * @param SmsReplyCallbackEvent $event The event.
39
     * @return SmsReplyCallbackEvent Returns the event.
40
     */
41
    public function onSmsReplyCallback(SmsReplyCallbackEvent $event): SmsReplyCallbackEvent {
42
        return $event;
43
    }
44
}
45