Completed
Push — 2.x-dev-kit ( 8d77e1 )
by
unknown
28:22 queued 25:50
created

ConsumerReturnInfo   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 0
dl 0
loc 23
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setReturnMessage() 0 4 1
A getReturnMessage() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Sonata project.
5
 *
6
 * (c) Thomas Rabaix <[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 Sonata\NotificationBundle\Consumer;
13
14
/**
15
 * Return informations for comsumers.
16
 *
17
 * @author Kevin Nedelec <[email protected]>
18
 *
19
 * Class ConsumerReturnInfo
20
 */
21
class ConsumerReturnInfo
22
{
23
    /**
24
     * @var string
25
     */
26
    protected $returnMessage;
27
28
    /**
29
     * @param string $returnMessage
30
     */
31
    public function setReturnMessage($returnMessage)
32
    {
33
        $this->returnMessage = $returnMessage;
34
    }
35
36
    /**
37
     * @return string
38
     */
39
    public function getReturnMessage()
40
    {
41
        return $this->returnMessage;
42
    }
43
}
44