FirebaseServiceLog::getServerKey()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the Firebase Service Bundle.
5
 *
6
 * (c) Gary HOUBRE <[email protected]>
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 Ghoubre\FirebaseServiceBundle\Model;
13
14
use Doctrine\ORM\Mapping as ORM;
0 ignored issues
show
Bug introduced by
The type Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
16
/**
17
 * Class FirebaseServiceLog
18
 *
19
 * @author Gary HOUBRE <[email protected]>
20
 */
21
abstract class FirebaseServiceLog
22
{
23
    /**
24
     * @ORM\Column(type="string", length=64)
25
     */
26
    protected $serverKey;
27
28
    /**
29
     * @ORM\Column(type="text")
30
     */
31
    protected $body;
32
33
    /**
34
     * @ORM\Column(type="string", length=16)
35
     */
36
    protected $status;
37
38
    /**
39
     * @ORM\Column(type="text")
40
     */
41
    protected $firebaseLog;
42
43
    /**
44
     * @return mixed
45
     */
46 1
    public function getBody()
47
    {
48 1
        return $this->body;
49
    }
50
51
    /**
52
     * @return mixed
53
     */
54 1
    public function getFirebaseLog()
55
    {
56 1
        return $this->firebaseLog;
57
    }
58
59
    /**
60
     * @return mixed
61
     */
62 1
    public function getServerKey()
63
    {
64 1
        return $this->serverKey;
65
    }
66
67
    /**
68
     * @return mixed
69
     */
70 1
    public function getStatus()
71
    {
72 1
        return $this->status;
73
    }
74
75
    /**
76
     * @param mixed $body
77
     *
78
     * @return self
79
     */
80 1
    public function setBody($body)
81
    {
82 1
        $this->body = $body;
83
84 1
        return $this;
85
    }
86
87
    /**
88
     * @param mixed $firebaseLog
89
     *
90
     * @return self
91
     */
92 1
    public function setFirebaseLog($firebaseLog)
93
    {
94 1
        $this->firebaseLog = $firebaseLog;
95
96 1
        return $this;
97
    }
98
99
    /**
100
     * @param mixed $serverKey
101
     *
102
     * @return self
103
     */
104 1
    public function setServerKey($serverKey)
105
    {
106 1
        $this->serverKey = $serverKey;
107
108 1
        return $this;
109
    }
110
111
    /**
112
     * @param mixed $status
113
     *
114
     * @return self
115
     */
116 1
    public function setStatus($status)
117
    {
118 1
        $this->status = $status;
119
120 1
        return $this;
121
    }
122
123
}
124