Completed
Push — master ( f6145a...ab3b35 )
by Christophe
02:20
created

MaterialTrait::getChart()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\Material;
4
5
/**
6
 * Trait MaterialTrait
7
 *
8
 * @author Christophe Meneses
9
 */
10
trait MaterialTrait
11
{
12
    /**
13
     * @var Chart
14
     */
15
    protected $chart;
16
17
    /**
18
     * @var array
19
     */
20
    protected $axes;
21
22
    /**
23
     * @return Chart
24
     */
25
    public function getChart()
26
    {
27
        return $this->chart;
28
    }
29
30
    /**
31
     * @param array $axes
32
     *
33
     * @return $this
34
     */
35
    public function setAxes($axes)
36
    {
37
        $this->axes = $axes;
38
39
        return $this;
40
    }
41
}
42