Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ClassConfig\Annotation\ConfigBoolean | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getType | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
namespace ClassConfig\Annotation; | |
/** | |
* Class ConfigBoolean | |
* @package ClassConfig\Annotation | |
* | |
* @Annotation | |
*/ | |
class ConfigBoolean implements ConfigEntryTypeHintInterface | |
{ | |
/** | |
* @var bool | |
*/ | |
public $default; | |
/** | |
* @inheritDoc | |
*/ | |
public function getType(): string | |
{ | |
return 'bool'; | |
} | |
} |