Pokladna::addArrayToBranch()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 3
1
<?php
2
/**
3
 * FlexiPeeHP - Objekt pokladny.
4
 *
5
 * @author     Vítězslav Dvořák <[email protected]>
6
 * @copyright  (C) 2015-2017 Spoje.Net
7
 */
8
9
namespace FlexiPeeHP;
10
11
/**
12
 * Pokladna
13
 *
14
 * @link https://demo.flexibee.eu/c/demo/pokladna/properties
15
 */
16
class Pokladna extends RW
17
{
18
    use Stitky;
19
    /**
20
     * Evidence užitá objektem.
21
     *
22
     * @var string
23
     */
24
    public $evidence = 'pokladna';
25
    
26
    /**
27
     * Add Data to invoice subItem
28
     *
29
     * @see Relations
30
     *
31
     * @param array   $data pole dat
32
     * @param string  $relationPath path evidence (relation) pro vkládaná data
33
     * @param boolean $removeAll
34
     *
35
     * @return boolean Operation success
36
     */
37
    public function addArrayToBranch($data, $relationPath = 'polozkyIntDokladu',
38
                                     $removeAll = false)
39
    {
40
        return parent::addArrayToBranch($data, $relationPath, $removeAll);
41
    }    
42
43
}
44