WidgetAnnotationEvent::getReceiverProperties()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Victoire\Bundle\WidgetBundle\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
7
class WidgetAnnotationEvent extends Event
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
8
{
9
    private $widgetName;
10
    private $receiverProperties;
11
12
    public function __construct($widgetName, $receiverProperties)
0 ignored issues
show
introduced by
Missing function doc comment
Loading history...
13
    {
14
        $this->widgetName = $widgetName;
15
        $this->receiverProperties = $receiverProperties;
16
    }
17
18
    /**
19
     * Get widget name.
20
     *
21
     * @return string
22
     */
23
    public function getWidgetName()
24
    {
25
        return $this->widgetName;
26
    }
27
28
    /**
29
     * Get receiverProperties.
30
     *
31
     * @return array
32
     */
33
    public function getReceiverProperties()
34
    {
35
        return $this->receiverProperties;
36
    }
37
}
38