13 namespace Fossology\UI\Api\Models;
38 $this->highlights = $highlights;
56 $this->highlights = $highlights;
74 return $this->highlights;
82 return json_encode($this->
getArray());
90 $highlightsArray = array_map(
function($highlight) {
91 return $highlight->getArray();
92 }, $this->highlights);
93 return $highlightsArray;
104 $dataType => $this->data,
setHighlights($highlights)
getArray($dataType='licenses')
__construct($data, $highlights)