/**
* @throws Exception
*
* @return PluginStruct[]
*/
public function getPlugins(PluginsByTechnicalNameRequest
$context) { $query =
$this->
getQuery();
$query->
andWhere('plugin.name IN (:names)'
) ->
setParameter( ':names',
$context->
getTechnicalNames(),
Connection::PARAM_STR_ARRAY
);
$statement =
$query->
execute();
$data =
$statement->
fetchAll(PDO::FETCH_ASSOC
);
return $this->
iteratePlugins($data,
$context);
} /**
* @return array<string, string> indexed by technical name, value contains the version
*/