Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Base extends AbstractDb |
||
20 | { |
||
21 | private $tableName; |
||
22 | |||
23 | private $referenceId; |
||
24 | |||
25 | /** |
||
26 | * Base constructor. |
||
27 | * @param ParentContext $context |
||
28 | * @param null $connectionName |
||
|
|||
29 | * @param string $tableName |
||
30 | * @param string $referenceId |
||
31 | */ |
||
32 | public function __construct( |
||
33 | ParentContext $context, |
||
34 | $connectionName = null, |
||
35 | string $tableName, |
||
36 | string $referenceId |
||
37 | ) { |
||
38 | $this->tableName = $tableName; |
||
39 | $this->referenceId = $referenceId; |
||
40 | parent::__construct($context, $connectionName); |
||
41 | } |
||
42 | |||
43 | protected function _construct() |
||
46 | } |
||
47 | } |
||
48 |