| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Storage implements IPillarAnnotation |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | * @Required() |
||
| 14 | */ |
||
| 15 | protected $type; |
||
| 16 | |||
| 17 | public function __construct($values) |
||
| 18 | { |
||
| 19 | if (isset($values['value'])) { |
||
| 20 | $this->type = $values['value']; |
||
| 21 | } |
||
| 22 | if (isset($values['type'])) { |
||
| 23 | $this->type = $values['type']; |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getType() |
||
| 33 | } |
||
| 34 | } |
||
| 35 |