Completed
Push — develop ( 122727...0dbf2e )
by Peter
02:47
created

ExceptionalDrawExceptionTrait::getDrawVariables()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Webino (http://webino.sk)
4
 *
5
 * @link        https://github.com/webino/WebinoDraw for the canonical source repository
6
 * @copyright   Copyright (c) 2016 Webino, s. r. o. (http://webino.sk)
7
 * @author      Peter Bačinský <[email protected]>
8
 * @license     BSD-3-Clause
9
 */
10
11
namespace WebinoDraw\Exception;
12
13
/**
14
 * Class ExceptionalDrawExceptionTrait
15
 */
16
trait ExceptionalDrawExceptionTrait
17
{
18
    /**
19
     * @var array
20
     */
21
    private $drawVariables = [];
22
23
    /**
24
     * @return array
25
     */
26
    public function getDrawVariables()
27
    {
28
        return $this->drawVariables;
29
    }
30
31
    /**
32
     * @param array $drawVariables
33
     * @return $this
34
     */
35
    public function setDrawVariables(array $drawVariables)
36
    {
37
        $this->drawVariables = $drawVariables;
38
        return $this;
39
    }
40
}
41