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

FcmAdapter::_executePush()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 6
nc 2
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