Completed
Pull Request — develop (#209)
by Franck
07:03
created

AbstractDecoratorWriter::setArrayChart()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace PhpOffice\PhpPresentation\Writer\ODPresentation;
4
5
use PhpOffice\PhpPresentation\Shape\Chart;
6
7
abstract class AbstractDecoratorWriter extends \PhpOffice\PhpPresentation\Writer\AbstractDecoratorWriter
8
{
9
    /**
10
     * @var Chart[]
11
     */
12
    protected $arrayChart;
13
14
    /**
15
     * @return \PhpOffice\PhpPresentation\Shape\Chart[]
16
     */
17
    public function getArrayChart()
18
    {
19
        return $this->arrayChart;
20
    }
21
22
    /**
23
     * @param \PhpOffice\PhpPresentation\Shape\Chart[] $arrayChart
24
     * @return AbstractDecoratorWriter
25
     */
26
    public function setArrayChart($arrayChart)
27
    {
28
        $this->arrayChart = $arrayChart;
29
        return $this;
30
    }
31
}
32