Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
OptionsTrait | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
checkOptionFlag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setOptions | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOptions | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace BO\Zmsdldb\Importer; |
4 | |
5 | trait OptionsTrait |
6 | { |
7 | protected $options = 0; |
8 | |
9 | protected function checkOptionFlag($optionFlag = 0) |
10 | { |
11 | return $this->options & $optionFlag; |
12 | } |
13 | |
14 | protected function setOptions(int $options = 0) |
15 | { |
16 | $this->options = $options; |
17 | } |
18 | |
19 | protected function getOptions(): int |
20 | { |
21 | return $this->options; |
22 | } |
23 | } |