protected function getArticleImages($articleId) { $builder =
$this->
getManager()->
createQueryBuilder();
$builder->
select(['images'
]) ->
from(Image::
class, 'images'
) ->
innerJoin('images.article', 'article'
) ->
where('article.id = :articleId'
) ->
orderBy('images.position', 'ASC'
) ->
andWhere('images.parentId IS NULL'
) ->
setParameter('articleId',
$articleId);
return $this->
getFullResult($builder);
} /**
* Selects all configured download files for the passed product id.
*
* @param int $articleId
*
* @return array<array<string, mixed>>
*/
protected function getArticleDownloads($articleId) {