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

Metadata::getInformations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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
class Metadata
15
{
16
    /**
17
     * @var array
18
     */
19
    protected $informations;
20
21
    /**
22
     * @param array $informations
23
     */
24
    public function __construct(array $informations = array())
25
    {
26
        $this->informations = $informations;
27
    }
28
29
    /**
30
     * @return array
31
     */
32
    public function getInformations()
33
    {
34
        return $this->informations;
35
    }
36
}
37