Completed
Push — master ( 4eaf4e...392da2 )
by WEBEWEB
02:39
created

ChartAccountsAccount::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\ChartAccounts\Model;
13
14
/**
15
 * Chart of accounts account model.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Library\Core\ChartAccounts\Model
19
 */
20
class ChartAccountsAccount extends AbstractChartAccountsModel {
21
22
    /**
23
     * Account type.
24
     *
25
     * @var ChartAccountsType
26
     */
27
    private $accountType;
28
29
    /**
30
     * Constructor.
31
     */
32
    public function __construct() {
33
        parent::__construct();
34
    }
35
36
    /**
37
     * Get the account type.
38
     *
39
     * @return ChartAccountsType Returns the type.
40
     */
41
    public function getAccountType() {
42
        return $this->accountType;
43
    }
44
45
    /**
46
     * Set the account type.
47
     *
48
     * @param ChartAccountsType $accountType The account type.
49
     * @return ChartAccountsAccount Returns this COA account.
50
     */
51
    public function setAccountType(ChartAccountsType $accountType) {
52
        $this->accountType = $accountType;
53
        return $this;
54
    }
55
56
}
57