Designated initialisation for biref target descriptor objects
This commit is contained in:
@@ -44,7 +44,15 @@ $xmlService = new XmlService();
|
||||
$xmlFiles = $discoveryService->findTargetDescriptionFiles(TDF_DIR_PATH);
|
||||
print count($xmlFiles) . ' target description files found in ' . TDF_DIR_PATH . PHP_EOL . PHP_EOL;
|
||||
|
||||
const MAP_ENTRY_TEMPLATE = '{"@CONFIG_VALUE@", {"@TARGET_NAME@", "@CONFIG_VALUE@", @TARGET_FAMILY@, "@TDF_PATH@"}}';
|
||||
const MAP_ENTRY_TEMPLATE = '{
|
||||
"@CONFIG_VALUE@",
|
||||
{
|
||||
.name = "@TARGET_NAME@",
|
||||
.configValue = "@CONFIG_VALUE@",
|
||||
.family = @TARGET_FAMILY@,
|
||||
.relativeTdfPath = "@TDF_PATH@"
|
||||
}
|
||||
}';
|
||||
|
||||
$entries = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user