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

FcmAdapter::_checkNotification()   B

Complexity

Conditions 6
Paths 7

Size

Total Lines 18
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 18
rs 8.8571
c 0
b 0
f 0
cc 6
eloc 10
nc 7
nop 1
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