Completed
Push — master ( cec9d1...f544c6 )
by Romain
11s
created

FcmAdapter::_getHttpOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 7
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