Passed
Push — master ( 6be800...01ae67 )
by
unknown
02:02
created

Meta::getMeta()   A

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
 * This file is part of AppBundle the package.
4
 *
5
 * (c) Ruslan Muriev <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace RonteLtd\JsonApiBundle\Annotation;
12
13
use Doctrine\Common\Annotations\Annotation;
14
15
/**
16
 * Class Meta
17
 *
18
 * @package RonteLtd\JsonApiBundle\Annotation
19
 * @author Ruslan Muriev <[email protected]>
20
 * @Annotation
21
 * @Annotation\Target("PROPERTY", "METHOD")
22
 */
23
class Meta
24
{
25
    /**
26
     * JsonApi metadata
27
     *
28
     * @var array
29
     */
30
    public $meta = [];
31
32
    /**
33
     * @return array
34
     */
35
    public function getMeta()
36
    {
37
        return $this->meta;
38
    }
39
40
    /**
41
     * @param array $meta
42
     */
43
    public function setMeta(array $meta)
44
    {
45
        $this->meta = $meta;
46
    }
47
}