Refactored TDF processing PHP code to confirm to new TDF format
This commit is contained in:
25
build/scripts/Targets/TargetRegisterBitField.php
Normal file
25
build/scripts/Targets/TargetRegisterBitField.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace Targets;
|
||||
|
||||
class TargetRegisterBitField
|
||||
{
|
||||
public ?string $key = null;
|
||||
public ?string $name = null;
|
||||
public ?string $description = null;
|
||||
public ?int $mask = null;
|
||||
public ?string $access = null;
|
||||
|
||||
public function __construct(
|
||||
?string $key,
|
||||
?string $name,
|
||||
?string $description,
|
||||
?int $mask,
|
||||
?string $access
|
||||
) {
|
||||
$this->key = $key;
|
||||
$this->name = $name;
|
||||
$this->description = $description;
|
||||
$this->mask = $mask;
|
||||
$this->access = $access;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user