Completed
Pull Request — master (#6)
by Romain
01:53
created

FcmAdapter::response()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace ker0x\Push\Adapter;
3
4
use ker0x\Push\AdapterInterface;
5
use ker0x\Push\Adapter\Fcm\Fcm;
6
7
class FcmAdapter extends Fcm implements AdapterInterface
8
{
9
10
    /**
11
     * Send the request
12
     *
13
     * @return bool
14
     */
15
    public function send()
16
    {
17
        return $this->_executePush();
18
    }
19
20
    /**
21
     * Display the response of the request
22
     *
23
     * @return \Cake\Http\Client\Response
24
     */
25
    public function response()
26
    {
27
        return $this->response;
28
    }
29
}
30