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