mirror of
https://github.com/Lukas0025/YAGS.git
synced 2025-04-11 01:42:12 +01:00
15 lines
321 B
PHP
15 lines
321 B
PHP
<?php
|
|
namespace API\target;
|
|
|
|
function info($params) {
|
|
|
|
$target = new \DAL\target();
|
|
$target->id->set($params["id"]);
|
|
|
|
return [
|
|
"id" => $target->id->get(),
|
|
"name" => $target->name->get(),
|
|
"locator" => $target->locator->get()
|
|
];
|
|
}
|